1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

* cus-edit.el (custom-save-all): Switch to emacs-lisp mode before

saving anything to be sure that `forward-sexp' behaves correctly.
This commit is contained in:
Chong Yidong 2006-09-29 18:31:33 +00:00
parent 13f131df02
commit 31b7fa51d6
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-09-26 Micha,Ak(Bl Cadilhac <michael.cadilhac@lrde.org>
* cus-edit.el (custom-save-all): Switch to emacs-lisp mode before
saving anything to be sure that `forward-sexp' behaves correctly.
2006-09-29 Chong Yidong <cyd@stupidchicken.com>
* simple.el (line-move-finish): Ignore field boundaries if the

View file

@ -4157,6 +4157,8 @@ if only the first line of the docstring is shown."))
recentf-exclude)))
(old-buffer (find-buffer-visiting filename)))
(with-current-buffer (or old-buffer (find-file-noselect filename))
(unless (eq major-mode 'emacs-lisp-mode)
(emacs-lisp-mode))
(let ((inhibit-read-only t))
(custom-save-variables)
(custom-save-faces))