diff options
author | Karl Heuer <[email protected]> | 1994-10-27 22:34:21 +0000 |
---|---|---|
committer | Karl Heuer <[email protected]> | 1994-10-27 22:34:21 +0000 |
commit | a2e12c0c4d51c50804369c15357e2979814c1aff (patch) | |
tree | 6ad642df4574812e81ca3b6fe71f2ce949373504 /lisp/files.el | |
parent | 8af6db0671b8eb6acb8d95159980628e949d866e (diff) |
(find-file-noselect): Call set-buffer-major-mode here.
Diffstat (limited to 'lisp/files.el')
-rw-r--r-- | lisp/files.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el index 79a3aa7a38..06c6950b01 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -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) (erase-buffer) (condition-case () |