Remove newlines from org-agenda mode to fix the post-command-hook issue.

This commit is contained in:
Ivan Malison 2014-12-01 15:11:29 -08:00
parent 107dbb9494
commit ea8d18f591

View File

@ -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