Commit a2e12c0c authored by Karl Heuer's avatar Karl Heuer
Browse files

(find-file-noselect): Call set-buffer-major-mode here.

parent 8af6db06
......@@ -698,6 +698,7 @@ The buffer is not selected, just returned to the caller."
;;; (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)
(condition-case ()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment