]> git.eshelyaron.com Git - emacs.git/commitdiff
(custom-save-delete): Force emacs-lisp-mode.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 11 Nov 2002 10:51:58 +0000 (10:51 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 11 Nov 2002 10:51:58 +0000 (10:51 +0000)
lisp/ChangeLog
lisp/cus-edit.el

index 5c7234059cc0ed6d311223c0827619ced04a8f04..aefa123399d22d7f1911d322c134a0c9c0cb6678 100644 (file)
@@ -1,3 +1,7 @@
+2002-11-11  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+       * cus-edit.el (custom-save-delete): Force emacs-lisp-mode.
+
 2002-11-11  Juanma Barranquero  <lektu@terra.es>
 
        * bindings.el (mode-name): Mark it as risky-local-variable.
index 366061a7e595eb99c339fa5a913b82a57413bc53..71709cd723458df44b2729c7f58a8d0cccef834b 100644 (file)
@@ -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.