Small documentation fixes.
This commit is contained in:
parent
8fd39af77b
commit
0c4728d110
12
init.el
12
init.el
|
@ -1,5 +1,5 @@
|
||||||
;;; init.el --- tastytea's Emacs init file.
|
;;; init.el --- tastytea's Emacs init file.
|
||||||
;; Time-stamp: <2019-04-13T02:49:34+00:00>
|
;; Time-stamp: <2019-04-13T18:37:55+00:00>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;; I am using this file with Emacs 26, but most of it will probably work with
|
;; I am using this file with Emacs 26, but most of it will probably work with
|
||||||
|
@ -323,7 +323,7 @@ With argument, do this that many times."
|
||||||
(c-default-style "tastytea"))
|
(c-default-style "tastytea"))
|
||||||
|
|
||||||
(unless slow-computer
|
(unless slow-computer
|
||||||
;; irony communicates with a clang-server.
|
;; irony communicates with a clang-server. It needs compile_commands.json.
|
||||||
(use-package irony
|
(use-package irony
|
||||||
:after yasnippet
|
:after yasnippet
|
||||||
:hook
|
:hook
|
||||||
|
@ -331,7 +331,7 @@ With argument, do this that many times."
|
||||||
(c-mode . irony-mode)
|
(c-mode . irony-mode)
|
||||||
(irony-mode . irony-cdb-autosetup-compile-options)
|
(irony-mode . irony-cdb-autosetup-compile-options)
|
||||||
:config
|
:config
|
||||||
;; If irony server was never installed, install it.
|
;; If irony server is not installed, install it.
|
||||||
(unless (irony--find-server-executable)
|
(unless (irony--find-server-executable)
|
||||||
(call-interactively #'irony-install-server)))
|
(call-interactively #'irony-install-server)))
|
||||||
|
|
||||||
|
@ -341,7 +341,7 @@ With argument, do this that many times."
|
||||||
:hook
|
:hook
|
||||||
(irony-mode . irony-eldoc))
|
(irony-mode . irony-eldoc))
|
||||||
|
|
||||||
; Syntax checker.
|
;; Syntax checker.
|
||||||
(use-package flycheck-irony
|
(use-package flycheck-irony
|
||||||
:after (flycheck irony)
|
:after (flycheck irony)
|
||||||
:hook
|
:hook
|
||||||
|
@ -675,7 +675,7 @@ With argument, do this that many times."
|
||||||
;; Delete old buffers.
|
;; Delete old buffers.
|
||||||
;; https://www.emacswiki.org/emacs/CleanBufferList
|
;; https://www.emacswiki.org/emacs/CleanBufferList
|
||||||
(use-package midnight
|
(use-package midnight
|
||||||
:defer 5
|
:defer 10
|
||||||
:init
|
:init
|
||||||
(setq midnight-delay 30 ; 30 seconds after "midnight"
|
(setq midnight-delay 30 ; 30 seconds after "midnight"
|
||||||
midnight-period (* 2 60 60)) ; Clean every 2 hours.
|
midnight-period (* 2 60 60)) ; Clean every 2 hours.
|
||||||
|
@ -684,7 +684,7 @@ With argument, do this that many times."
|
||||||
(clean-buffer-list-delay-special (* 30 60)) ; Clean special bufs after 30m.
|
(clean-buffer-list-delay-special (* 30 60)) ; Clean special bufs after 30m.
|
||||||
:config
|
:config
|
||||||
(setq clean-buffer-list-kill-regexps ; Add these to special buffers.
|
(setq clean-buffer-list-kill-regexps ; Add these to special buffers.
|
||||||
(nconc clean-buffer-list-kill-regexps
|
(nconc clean-buffer-list-kill-regexps
|
||||||
'("\\`magit-?.*:"
|
'("\\`magit-?.*:"
|
||||||
"\\.log\\'"
|
"\\.log\\'"
|
||||||
"\\`'\\*rdm\\*\\'")))
|
"\\`'\\*rdm\\*\\'")))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user