# HG changeset patch # User Juanma Barranquero # Date 1037011853 0 # Node ID dd12a68149b51ded517899596464d329baefd161 # Parent e0d8b1e38956614afcb25b9edaa9d6f8e17703ad (custom-save-delete): Force emacs-lisp-mode. diff -r e0d8b1e38956 -r dd12a68149b5 lisp/cus-edit.el --- 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.