From 1b8d07559d30c3ce3229f7119ee9f06177ec8224 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 12 Jan 2005 04:24:20 +0000 Subject: [PATCH] (type-break-mode): Fix previous change. --- lisp/type-break.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)) -- 2.39.5