From: Leo <sdl.web@gmail.com>
To: 6494@debbugs.gnu.org
Subject: bug#6494: 23.2; find-lisp-object-file-name doc incorrect
Date: Tue, 22 Jun 2010 18:01:21 +0100 [thread overview]
Message-ID: <m1vd9buhlq.fsf@cam.ac.uk> (raw)
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
next reply other threads:[~2010-06-22 17:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-22 17:01 Leo [this message]
2010-06-22 17:09 ` bug#6494: 23.2; find-lisp-object-file-name doc incorrect Leo
2010-07-23 1:55 ` Juanma Barranquero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1vd9buhlq.fsf@cam.ac.uk \
--to=sdl.web@gmail.com \
--cc=6494@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.