forked from colonelpanic/dotfiles
[Emacs] No trailing whitespace in magit-popup-mode
This commit is contained in:
parent
3c4088912b
commit
3ce6093e5f
@ -1806,7 +1806,9 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
|
|||||||
(progn
|
(progn
|
||||||
(defun imalison:after-magit-visit-file (&rest args)
|
(defun imalison:after-magit-visit-file (&rest args)
|
||||||
(when (derived-mode-p 'org-mode)
|
(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
|
:config
|
||||||
(progn
|
(progn
|
||||||
(unbind-key "C-j" magit-status-mode-map)
|
(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))
|
(add-to-list 'org-show-context-detail '(magit-goto . lineage))
|
||||||
(advice-add 'magit-diff-visit-file :after 'imalison:after-magit-visit-file)
|
(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
|
(use-package magit-filenotify
|
||||||
;; Seems like OSX does not support filenotify.
|
;; Seems like OSX does not support filenotify.
|
||||||
:disabled t
|
:disabled t
|
||||||
|
Loading…
Reference in New Issue
Block a user