aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2003-01-13 08:04:46 +0000
committerRichard M. Stallman2003-01-13 08:04:46 +0000
commitd92c27571f08cbdb828fb8ee2a46149bafba68f0 (patch)
tree366621f9d536f6e949c95cf0adc617c5ca9be346
parentcf1175df2a4a4902b0506cebfbf0bf094406ec26 (diff)
downloademacs-d92c27571f08cbdb828fb8ee2a46149bafba68f0.tar.gz
emacs-d92c27571f08cbdb828fb8ee2a46149bafba68f0.zip
(where-is): Catch errors in indirect-function.
-rw-r--r--lisp/help.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/help.el b/lisp/help.el
index 4002a0aee16..8d0be9b63cc 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -425,7 +425,9 @@ If INSERT (the prefix arg) is non-nil, insert the message in the buffer."
425 (mapatoms (lambda (symbol) 425 (mapatoms (lambda (symbol)
426 (and (fboundp symbol) 426 (and (fboundp symbol)
427 (not (eq symbol definition)) 427 (not (eq symbol definition))
428 (eq func (indirect-function symbol)) 428 (eq func (condition-case ()
429 (indirect-function symbol)
430 (error symbol)))
429 (push symbol defs)))) 431 (push symbol defs))))
430 (princ (mapconcat 432 (princ (mapconcat
431 #'(lambda (symbol) 433 #'(lambda (symbol)