From: Richard M. Stallman Date: Wed, 12 Jan 2005 04:24:20 +0000 (+0000) Subject: (type-break-mode): Fix previous change. X-Git-Tag: ttn-vms-21-2-B4~2806 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1b8d07559d30c3ce3229f7119ee9f06177ec8224;p=emacs.git (type-break-mode): Fix previous change. --- diff --git a/lisp/type-break.el b/lisp/type-break.el index b51a74ea37e..7a387bfe062 100644 --- a/lisp/type-break.el +++ b/lisp/type-break.el @@ -389,6 +389,9 @@ problems." (and (interactive-p) (message "Type Break mode is already enabled"))) (type-break-mode + (with-current-buffer (find-file-noselect type-break-file-name 'nowarn) + (setq buffer-save-without-query t)) + (or global-mode-string (setq global-mode-string '(""))) (or (assq 'type-break-mode-line-message-mode @@ -433,7 +436,6 @@ problems." (do-auto-save) (with-current-buffer (find-file-noselect type-break-file-name 'nowarn) - (setq buffer-save-without-query t) (set-buffer-modified-p nil) (unlock-buffer) (kill-this-buffer))