changeset 48243:dd12a68149b5

(custom-save-delete): Force emacs-lisp-mode.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 11 Nov 2002 10:50:53 +0000
parents e0d8b1e38956
children b534f5704525
files lisp/cus-edit.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/cus-edit.el	Mon Nov 11 09:03:25 2002 +0000
+++ b/lisp/cus-edit.el	Mon Nov 11 10:50:53 2002 +0000
@@ -3649,7 +3649,7 @@
   "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.