# HG changeset patch # User Gerd Moellmann # Date 997108116 0 # Node ID 92af2bb73b51288cfec54afc85b3d9384b12d015 # Parent aa6c656692d3ad6dc04d5409209360dc3c8493bb (describe-function-1): Use find-function-search-for-symbol instead of find-functin-noselect because the latter follows aliases. diff -r aa6c656692d3 -r 92af2bb73b51 lisp/help.el --- a/lisp/help.el Mon Aug 06 13:37:02 2001 +0000 +++ b/lisp/help.el Mon Aug 06 14:28:36 2001 +0000 @@ -710,13 +710,16 @@ (with-current-buffer "*Help*" (save-excursion (re-search-backward "`\\([^`']+\\)'" nil t) - (help-xref-button 1 #'(lambda (arg) - (let ((location - (find-function-noselect arg))) - (pop-to-buffer (car location)) - (goto-char (cdr location)))) - function - "mouse-2, RET: find function's definition"))))) + (help-xref-button + 1 + #'(lambda (arg) + (require 'find-func) + (let* ((location (find-function-search-for-symbol + arg nil (symbol-file arg)))) + (pop-to-buffer (car location)) + (goto-char (cdr location)))) + function + "mouse-2, RET: find function's definition"))))) (if need-close (princ ")")) (princ ".") (terpri)