aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/forms.el
diff options
context:
space:
mode:
authorPaul Eggert2016-03-22 11:04:36 -0700
committerPaul Eggert2016-03-22 11:04:36 -0700
commitf95bbe5a67e03fe6d05cbfb4d0c9151a754d6ccd (patch)
tree770fbf699587d51ed3a374c6f01bdd655394c66c /lisp/forms.el
parent4869e0d85a215e7fb0262430a48aa4d5804bf0a4 (diff)
parentb8ea08b037fb16395b90481162587706e71b487c (diff)
downloademacs-f95bbe5a67e03fe6d05cbfb4d0c9151a754d6ccd.tar.gz
emacs-f95bbe5a67e03fe6d05cbfb4d0c9151a754d6ccd.zip
-
Diffstat (limited to 'lisp/forms.el')
-rw-r--r--lisp/forms.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/forms.el b/lisp/forms.el
index c0b48fd3b63..b068352e6eb 100644
--- a/lisp/forms.el
+++ b/lisp/forms.el
@@ -593,7 +593,7 @@ Commands: Equivalent keys in read-only mode:
593 ;; set-visited-file-name from calling set-auto-mode, which 593 ;; set-visited-file-name from calling set-auto-mode, which
594 ;; might kill all local variables and set forms-file nil, 594 ;; might kill all local variables and set forms-file nil,
595 ;; which will then barf in find-file-noselect below. This can 595 ;; which will then barf in find-file-noselect below. This can
596 ;; hapen when the user sets the default major mode that is 596 ;; happen when the user sets the default major mode that is
597 ;; different from the Fundamental mode. 597 ;; different from the Fundamental mode.
598 (let (change-major-mode-with-file-name) 598 (let (change-major-mode-with-file-name)
599 (set-visited-file-name nil)) 599 (set-visited-file-name nil))