Small documentation fixes.

This commit is contained in:
tastytea 2019-04-13 20:40:34 +02:00
parent 8fd39af77b
commit 0c4728d110
1 changed files with 6 additions and 6 deletions

12
init.el
View File

@ -1,5 +1,5 @@
;;; 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:
;; 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"))
(unless slow-computer
;; irony communicates with a clang-server.
;; irony communicates with a clang-server. It needs compile_commands.json.
(use-package irony
:after yasnippet
:hook
@ -331,7 +331,7 @@ With argument, do this that many times."
(c-mode . irony-mode)
(irony-mode . irony-cdb-autosetup-compile-options)
:config
;; If irony server was never installed, install it.
;; If irony server is not installed, install it.
(unless (irony--find-server-executable)
(call-interactively #'irony-install-server)))
@ -341,7 +341,7 @@ With argument, do this that many times."
:hook
(irony-mode . irony-eldoc))
; Syntax checker.
;; Syntax checker.
(use-package flycheck-irony
:after (flycheck irony)
:hook
@ -675,7 +675,7 @@ With argument, do this that many times."
;; Delete old buffers.
;; https://www.emacswiki.org/emacs/CleanBufferList
(use-package midnight
:defer 5
:defer 10
:init
(setq midnight-delay 30 ; 30 seconds after "midnight"
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.
:config
(setq clean-buffer-list-kill-regexps ; Add these to special buffers.
(nconc clean-buffer-list-kill-regexps
(nconc clean-buffer-list-kill-regexps
'("\\`magit-?.*:"
"\\.log\\'"
"\\`'\\*rdm\\*\\'")))