comparison lisp/help-fns.el @ 87109:c5028f32763a

Remove directory part from filenames in function declarations.
author Glenn Morris <rgm@gnu.org>
date Thu, 06 Dec 2007 04:04:42 +0000
parents 22dc0bc9daf8
children 12a53ee55069 53108e6cea98
comparison
equal deleted inserted replaced
87108:b7147cb1c966 87109:c5028f32763a
246 (match-string 1 str)))) 246 (match-string 1 str))))
247 (if (and src-file (file-readable-p src-file)) 247 (if (and src-file (file-readable-p src-file))
248 src-file 248 src-file
249 file-name))) 249 file-name)))
250 250
251 (declare-function ad-get-advice-info "emacs-lisp/advice" (function)) 251 (declare-function ad-get-advice-info "advice" (function))
252 252
253 ;;;###autoload 253 ;;;###autoload
254 (defun describe-function-1 (function) 254 (defun describe-function-1 (function)
255 (let* ((advised (and (featurep 'advice) (ad-get-advice-info function))) 255 (let* ((advised (and (featurep 'advice) (ad-get-advice-info function)))
256 ;; If the function is advised, use the symbol that has the 256 ;; If the function is advised, use the symbol that has the