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

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

[debbugs-tracker] bug#21950: closed (25.1.50; find-lisp-object-file-name


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#21950: closed (25.1.50; find-lisp-object-file-name sometimes cannot find file-name)
Date: Tue, 07 Jun 2016 20:47:02 +0000

Your message dated Tue, 07 Jun 2016 16:46:01 -0400
with message-id <address@hidden>
and subject line Re: bug#21950: 25.1.50; Show the filename where an alias is 
defined
has caused the debbugs.gnu.org bug report #21950,
regarding 25.1.50; find-lisp-object-file-name sometimes cannot find file-name
to be marked as done.

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


-- 
21950: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21950
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.1.50; find-lisp-object-file-name sometimes cannot find file-name Date: Wed, 18 Nov 2015 19:48:59 +0900 (JST) User-agent: Alpine 2.20 (LRH 67 2015-01-07)


* lisp/help-fns.el (find-lisp-object-file-name):
  Restrict second argument of symbol-file to just 'defvar 'defface 'defun

emacs -Q:
;; following returns nil (it should be the value of file)
(let ((alias 'd)
      (def   'dired)
      (file  (expand-file-name "test-alias-v25.1.50-tmp.el"
                               user-emacs-directory)))
  (with-temp-file file
    (insert (format "(defalias '%s '%s)"
                    (symbol-name alias)
                    (symbol-name def))))
  (load-file file)
  (find-lisp-object-file-name alias def))

Attachment: help-fns.patch
Description: Text document


--- End Message ---
--- Begin Message --- Subject: Re: bug#21950: 25.1.50; Show the filename where an alias is defined Date: Tue, 07 Jun 2016 16:46:01 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Version: 25.1

Tino Calancha wrote:

> Below a new patch that solves the issue about showing the filename
> where the alias is defined.  This patch does not interfere with
> the Stefan commit mentioned in this thread.

Thanks; applied with minor tweak.


--- End Message ---

reply via email to

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