Remove unneeded hook on org-capture-mode-hook
This was corrected upstream in hlissner/emacs-solaire-mode@e077c28
This commit is contained in:
parent
9edd4f26f3
commit
6fc3be6165
1 changed files with 0 additions and 4 deletions
|
@ -41,10 +41,6 @@
|
||||||
(string-prefix-p "doom-" (symbol-name doom-theme))
|
(string-prefix-p "doom-" (symbol-name doom-theme))
|
||||||
(solaire-mode-swap-bg))))
|
(solaire-mode-swap-bg))))
|
||||||
|
|
||||||
;; org-capture takes an org buffer and narrows it. The result is erroneously
|
|
||||||
;; considered an unreal buffer, so solaire-mode must be restored.
|
|
||||||
(add-hook 'org-capture-mode-hook #'turn-on-solaire-mode)
|
|
||||||
|
|
||||||
;; DEPRECATED No longer needed in Emacs 27+
|
;; DEPRECATED No longer needed in Emacs 27+
|
||||||
(unless EMACS27+
|
(unless EMACS27+
|
||||||
;; HACK On Emacs <=26, when point is on the last (or second to last) line
|
;; HACK On Emacs <=26, when point is on the last (or second to last) line
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue