[Emacs] No trailing whitespace in magit-popup-mode

This commit is contained in:
Ivan Malison 2016-10-21 22:08:04 -07:00
parent 3c4088912b
commit 3ce6093e5f
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -1806,7 +1806,9 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
(progn
(defun imalison:after-magit-visit-file (&rest args)
(when (derived-mode-p 'org-mode)
(org-show-context 'magit-goto))))
(org-show-context 'magit-goto)))
(defun imalison:magit-popup-mode-hook ()
(setq show-trailing-whitespace nil)))
:config
(progn
(unbind-key "C-j" magit-status-mode-map)
@ -1821,6 +1823,7 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
(add-to-list 'org-show-context-detail '(magit-goto . lineage))
(advice-add 'magit-diff-visit-file :after 'imalison:after-magit-visit-file)
(add-hook 'magit-popup-mode-hook 'imalison:magit-popup-mode-hook)
(use-package magit-filenotify
;; Seems like OSX does not support filenotify.
:disabled t