summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-01-07 02:52:29 +0000
committerRichard M. Stallman <rms@gnu.org>2005-01-07 02:52:29 +0000
commitc7ce7fc43b68369e18de0ccc5ded610823b8c1da (patch)
treea1e0da51ffdbcee92113ca2a8a3bc10cff486a57 /lisp/emacs-lisp
parent762566f3a1641cde8d558bcfedee160f92df7898 (diff)
downloademacs-c7ce7fc43b68369e18de0ccc5ded610823b8c1da.tar.gz
emacs-c7ce7fc43b68369e18de0ccc5ded610823b8c1da.tar.bz2
emacs-c7ce7fc43b68369e18de0ccc5ded610823b8c1da.zip
(find-face-definition): Renamed from find-face.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/find-func.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el
index 49e44ca5fee..7e2ac5aa883 100644
--- a/lisp/emacs-lisp/find-func.el
+++ b/lisp/emacs-lisp/find-func.el
@@ -418,8 +418,10 @@ The library where SYMBOL is defined is searched for in FILE or
(let ((library (or file (symbol-file symbol type))))
(find-function-search-for-symbol symbol type library))))
+;; For symmetry, this should be called find-face; but some programs
+;; assume that, if that name is defined, it means something else.
;;;###autoload
-(defun find-face (face)
+(defun find-face-definition (face)
"Find the definition of FACE. FACE defaults to the name near point.
Finds the Emacs Lisp library containing the definition of the face