Remove newlines from org-agenda mode to fix the post-command-hook issue.
This commit is contained in:
parent
107dbb9494
commit
ea8d18f591
4
init.el
4
init.el
@ -548,7 +548,9 @@ buffer is not visiting a file."
|
|||||||
(guide-key/add-local-guide-key-sequence "C-c C-x")
|
(guide-key/add-local-guide-key-sequence "C-c C-x")
|
||||||
(guide-key/add-local-highlight-command-regexp "org-"))
|
(guide-key/add-local-highlight-command-regexp "org-"))
|
||||||
(add-hook 'org-mode-hook 'guide-key/my-hook-function-for-org-mode)
|
(add-hook 'org-mode-hook 'guide-key/my-hook-function-for-org-mode)
|
||||||
(add-hook 'org-mode-hook (lambda () (linum-mode 0)))))
|
(defun disable-linum-mode () (linum-mode 0))
|
||||||
|
(add-hook 'org-mode-hook 'disable-linum-mode)
|
||||||
|
(add-hook 'org-agenda-mode-hook 'disable-linum-mode)))
|
||||||
|
|
||||||
(use-package epg
|
(use-package epg
|
||||||
:ensure t
|
:ensure t
|
||||||
|
Loading…
Reference in New Issue
Block a user