diff options
| author | Karl Heuer | 1994-02-12 04:21:06 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-02-12 04:21:06 +0000 |
| commit | e1f672f5798d31602ceaf307db47e7003cf82083 (patch) | |
| tree | 2e876444baf0a724dc595145f1e183b3b686bb20 | |
| parent | 61563ba0c91f74b3cdbc84f6f555b96c613ab320 (diff) | |
| download | emacs-e1f672f5798d31602ceaf307db47e7003cf82083.tar.gz emacs-e1f672f5798d31602ceaf307db47e7003cf82083.zip | |
(super-apropos-check-doc-file): Don't attempt to retrieve function
documentation from a symbol with no function binding.
| -rw-r--r-- | lisp/apropos.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/apropos.el b/lisp/apropos.el index 8cc2940349d..d418be52273 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el | |||
| @@ -154,7 +154,7 @@ Returns list of symbols and documentation found." | |||
| 154 | (point)))) | 154 | (point)))) |
| 155 | item (assq symbol sym-list)) | 155 | item (assq symbol sym-list)) |
| 156 | (and (if (= type 1) | 156 | (and (if (= type 1) |
| 157 | (documentation symbol) | 157 | (and (fboundp symbol) (documentation symbol)) |
| 158 | (documentation-property symbol 'variable-documentation)) | 158 | (documentation-property symbol 'variable-documentation)) |
| 159 | (or item | 159 | (or item |
| 160 | (setq item (list symbol nil nil) | 160 | (setq item (list symbol nil nil) |