diff options
author | Richard M. Stallman <[email protected]> | 1994-04-13 19:00:07 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1994-04-13 19:00:07 +0000 |
commit | 27d684a195591a8b173cc3ed6a5d925ca69add4b (patch) | |
tree | 513dbc3edf46253ba410a071ffed67d713f1ab1e /lisp/apropos.el | |
parent | 217f28719edf08ba2e15349713df7c9f8ab871fb (diff) |
(super-apropos-check-doc-file): Force Fundamental mode.
Diffstat (limited to 'lisp/apropos.el')
-rw-r--r-- | lisp/apropos.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/apropos.el b/lisp/apropos.el index 1cd37310e1..98086c20f7 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -120,9 +120,10 @@ Returns list of symbols and documentation found." (defun super-apropos-check-doc-file (regexp) (let* ((doc-file (concat doc-directory internal-doc-file-name)) - (doc-buffer (find-file-noselect doc-file t)) - ;; (doc-buffer (or (get-file-buffer doc-file) - ;; (find-file-noselect doc-file))) + (doc-buffer + ;; Force fundamental mode for the DOC file. + (let (auto-mode-alist) + (find-file-noselect doc-file t))) type symbol doc sym-list) (save-excursion (set-buffer doc-buffer) |