mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(type-break-mode): Add a test for type-break-file-name being non-nil.
This commit is contained in:
parent
b338e7499d
commit
cc7fe910c2
1 changed files with 3 additions and 2 deletions
|
|
@ -390,8 +390,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))
|
||||
(when type-break-file-name
|
||||
(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 '("")))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue