From: Juanma Barranquero Date: Mon, 11 Nov 2002 10:51:58 +0000 (+0000) Subject: (custom-save-delete): Force emacs-lisp-mode. X-Git-Tag: ttn-vms-21-2-B4~12518 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2302ee3426e35082ecbf442571a3d9fb1b7b9560;p=emacs.git (custom-save-delete): Force emacs-lisp-mode. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5c7234059cc..aefa123399d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2002-11-11 Per Abrahamsen + + * cus-edit.el (custom-save-delete): Force emacs-lisp-mode. + 2002-11-11 Juanma Barranquero * bindings.el (mode-name): Mark it as risky-local-variable. diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 366061a7e59..71709cd7234 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el @@ -3649,7 +3649,7 @@ to the new custom file. This will preserve your existing customizations." "Visit `custom-file' and delete all calls to SYMBOL from it. Leave point at the old location of the first such call, or (if there were none) at the end of the buffer." - (let ((default-major-mode)) + (let ((default-major-mode 'emacs-lisp-mode)) (set-buffer (find-file-noselect (custom-file)))) (goto-char (point-min)) ;; Skip all whitespace and comments.