Minor refactors & comment revision

This commit is contained in:
Henrik Lissner 2020-11-19 23:00:13 -05:00
parent 0d6c32ff25
commit 4dab595ad3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
6 changed files with 20 additions and 24 deletions

View file

@ -159,6 +159,7 @@ This is ignored by ccls.")
(set-lookup-handlers! 'cmake-mode
:documentation '+cc-cmake-lookup-documentation-fn))
(use-package! company-cmake ; for `cmake-mode'
:when (featurep! :completion company)
:after cmake-mode

View file

@ -11,7 +11,7 @@ ALIASES is a flat list of alias -> command pairs. e.g.
\"bye\" \"echo goodbye world\")"
(or (cl-evenp (length aliases))
(signal 'wrong-number-of-arguments (list 'even (length aliases))))
(after! eshell
(after! em-alias
(while aliases
(let ((alias (pop aliases))
(command (pop aliases)))

View file

@ -92,9 +92,7 @@ You should use `set-eshell-alias!' to change this.")
(add-hook! 'eshell-mode-hook
(defun +eshell-remove-fringes-h ()
(set-window-fringes nil 0 0)
(set-window-margins nil 1 nil)))
(add-hook! 'eshell-mode-hook
(set-window-margins nil 1 nil))
(defun +eshell-enable-text-wrapping-h ()
(visual-line-mode +1)
(set-display-table-slot standard-display-table 0 ?\ )))