General comment update

This commit is contained in:
Henrik Lissner 2016-10-07 00:26:45 +02:00
parent 2231bf25df
commit e241d171de
2 changed files with 3 additions and 3 deletions

View file

@ -52,9 +52,9 @@
(esup-mode :noesc) (esup-mode :noesc)
(tabulated-list-mode :noesc))) (tabulated-list-mode :noesc)))
;; There is no shackle-popup hook, so I hack one in ;; There is no shackle-popup hook, so I created one:
(advice-add 'shackle-display-buffer :around 'doom*popup-init) (advice-add 'shackle-display-buffer :around 'doom*popup-init)
;; Tell these functions not to mess with popups ;; Tell these functions not to mess with popups:
(advice-add 'balance-windows :around 'doom*save-popup) (advice-add 'balance-windows :around 'doom*save-popup)
(advice-add 'doom/evil-window-move :around 'doom*save-popup)) (advice-add 'doom/evil-window-move :around 'doom*save-popup))

View file

@ -157,7 +157,7 @@
(markdown-mode prog-mode scss-mode web-mode conf-mode groovy-mode (markdown-mode prog-mode scss-mode web-mode conf-mode groovy-mode
nxml-mode snippet-mode php-mode) nxml-mode snippet-mode php-mode)
'nlinum-mode) 'nlinum-mode)
;; FIXME This only works if hl-line is active! ;; FIXME This only works if hl-line is active! Why?
(add-hook! nlinum-mode (add-hook! nlinum-mode
(if nlinum-mode-hook (if nlinum-mode-hook
(add-hook 'post-command-hook 'doom|nlinum-hl-line nil t) (add-hook 'post-command-hook 'doom|nlinum-hl-line nil t)