If the symbol of an alias changes, describe-function would fail with
Invalid byte code: "Object file name not stored in doc file"
* help.el (describe-function-1): When trying to find the filename
of an alias find the filename of the symbol-function not the
alias.
Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
nil)))
(princ "\n")
(or file-name
- (setq file-name (symbol-file function 'defun)))
+ (setq file-name
+ (symbol-file (if aliases
+ (symbol-function function)
+ function) 'defun)))
(when file-name
(princ " -- loaded from \"")
(if (not (bufferp standard-output))