changeset 6853:581a72b47b19

(super-apropos-check-doc-file): Force Fundamental mode.
author Richard M. Stallman <rms@gnu.org>
date Wed, 13 Apr 1994 19:00:07 +0000
parents 5cc78dd8efc3
children c976ac5d85ec
files lisp/apropos.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/apropos.el	Wed Apr 13 18:14:44 1994 +0000
+++ b/lisp/apropos.el	Wed Apr 13 19:00:07 1994 +0000
@@ -120,9 +120,10 @@
 
 (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)