aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/find-func.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp/find-func.el')
-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 49e44ca5fe..7e2ac5aa88 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