Minor refactors & docstring revision

These are not the refactors you are looking for.
This commit is contained in:
Henrik Lissner 2018-06-04 21:13:19 +02:00
parent fdb95d9ee6
commit 1d9ae834f2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 7 additions and 6 deletions

View file

@ -1,7 +1,7 @@
;;; core.el --- the heart of the beast -*- lexical-binding: t; -*- ;;; core.el --- the heart of the beast -*- lexical-binding: t; -*-
(eval-when-compile (eval-when-compile
(when (version< emacs-version "25") (and (version< emacs-version "25")
(error "Doom only supports Emacs 25.1 and higher!"))) (error "Doom only supports Emacs 25.1 and higher!")))
;; ;;

View file

@ -50,5 +50,5 @@
(advice-add #'yas-expand :before #'sp-remove-active-pair-overlay))) (advice-add #'yas-expand :before #'sp-remove-active-pair-overlay)))
(after! auto-yasnippet ;; `auto-yasnippet'
(setq aya-persist-snippets-dir (concat doom-local-dir "auto-snippets/"))) (setq aya-persist-snippets-dir (concat doom-local-dir "auto-snippets/"))

View file

@ -87,8 +87,9 @@ compilation database is present in the project.")
(substatement-label . 0) (substatement-label . 0)
(statement-cont . +) (statement-cont . +)
(case-label . +) (case-label . +)
;; align args with open brace OR don't indent at all (if open brace ;; align args with open brace OR don't indent at all (if open
;; is at eolp and close brace is after arg with no trailing comma) ;; brace is at eolp and close brace is after arg with no trailing
;; comma)
(arglist-intro . +) (arglist-intro . +)
(arglist-close +cc-lineup-arglist-close 0) (arglist-close +cc-lineup-arglist-close 0)
;; don't over-indent lambda blocks ;; don't over-indent lambda blocks