# HG changeset patch # User Richard M. Stallman # Date 1105503860 0 # Node ID a72af674f3d8c6f1ab9646a519284758bb911d2f # Parent a111e3fea08611b58c735dc9bd3d485155764a75 (type-break-mode): Fix previous change. diff -r a111e3fea086 -r a72af674f3d8 lisp/type-break.el --- a/lisp/type-break.el Wed Jan 12 00:52:33 2005 +0000 +++ b/lisp/type-break.el Wed Jan 12 04:24:20 2005 +0000 @@ -389,6 +389,9 @@ (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 @@ (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))