* bug#6494: 23.2; find-lisp-object-file-name doc incorrect
@ 2010-06-22 17:01 Leo
2010-06-22 17:09 ` Leo
0 siblings, 1 reply; 3+ messages in thread
From: Leo @ 2010-06-22 17:01 UTC (permalink / raw)
To: 6494
The doc-string of find-lisp-object-file-name regarding TYPE is
incorrect. The code says defvar or defface but the doc-string says
variable or face, one of which should be fixed. The attached patch fixes
the code.
cheers -- Leo
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 86e9411..32470bb 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -244,7 +244,7 @@ suitable file is found, return nil."
(let* ((autoloaded (eq (car-safe type) 'autoload))
(file-name (or (and autoloaded (nth 1 type))
(symbol-file
- object (if (memq type (list 'defvar 'defface))
+ object (if (memq type (list 'variable 'face))
type
'defun)))))
(cond
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-07-23 1:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-22 17:01 bug#6494: 23.2; find-lisp-object-file-name doc incorrect Leo
2010-06-22 17:09 ` Leo
2010-07-23 1:55 ` Juanma Barranquero
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.