--- 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))
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 ---