changeset 9731:2fbc8ef9ff44

(find-file-noselect): Call set-buffer-major-mode here.
author Karl Heuer <kwzh@gnu.org>
date Thu, 27 Oct 1994 22:34:21 +0000
parents a7d3e357a3f3
children 577db538b0b6
files lisp/files.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Thu Oct 27 21:15:50 1994 +0000
+++ b/lisp/files.el	Thu Oct 27 22:34:21 1994 +0000
@@ -698,6 +698,7 @@
 ;;;		(message "Symbolic link to file in buffer %s"
 ;;;			 (buffer-name linked-buf))))
 	  (setq buf (create-file-buffer filename))
+	  (set-buffer-major-mode buf)
 	  (set-buffer buf)
 	  (erase-buffer)
 	  (condition-case ()