Added magit-diff to special buffers list.
This commit is contained in:
parent
a99ddf3cd1
commit
ec7d237709
7
init.el
7
init.el
|
@ -109,7 +109,10 @@
|
|||
(use-package midnight
|
||||
:config
|
||||
(setq midnight-period "2 hours" ; Clean every 2 hours
|
||||
clean-buffer-list-delay-general 1)) ; Clean normal buffers after 1 day
|
||||
clean-buffer-list-delay-general 1 ; Clean normal buffers after 1 day
|
||||
clean-buffer-list-kill-regexps ; Add these to special buffers
|
||||
(nconc clean-buffer-list-kill-regexps
|
||||
'("\\`magit-diff: .*\\'"))))
|
||||
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;; Keybindings ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
@ -422,7 +425,7 @@
|
|||
:defer t
|
||||
:mode
|
||||
(("/cron\\.d/" . crontab-mode))
|
||||
("/etc/crontab\\'" . crontab-mode))
|
||||
("\\`'/etc/crontab\\'" . crontab-mode))
|
||||
|
||||
(use-package nginx-mode
|
||||
:defer t)
|
||||
|
|
Loading…
Reference in New Issue
Block a user