emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-bug-tracker] bug#6494: closed (23.2; find-lisp-object-file-name d


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#6494: closed (23.2; find-lisp-object-file-name doc incorrect)
Date: Fri, 23 Jul 2010 01:56:02 +0000

Your message dated Fri, 23 Jul 2010 03:55:10 +0200
with message-id <address@hidden>
and subject line Re: bug#6494: 23.2; find-lisp-object-file-name doc incorrect
has caused the GNU bug report #6494,
regarding 23.2; find-lisp-object-file-name doc incorrect
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
6494: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6494
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 23.2; find-lisp-object-file-name doc incorrect Date: Tue, 22 Jun 2010 18:01:21 +0100
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



--- End Message ---
--- Begin Message --- Subject: Re: bug#6494: 23.2; find-lisp-object-file-name doc incorrect Date: Fri, 23 Jul 2010 03:55:10 +0200
On Tue, Jun 22, 2010 at 19:09, Leo <address@hidden> wrote:
>
> To be consistent with symbol-file, the doc-string should be fixed
> instead.

Fixed, thanks.

    Juanma


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]