Remove unused macro in init-auto-highlight-symbol

This commit is contained in:
syl20bnr 2014-10-03 12:05:23 -04:00
parent 196408afa7
commit 6fd216b633

View file

@ -55,12 +55,6 @@
"th" 'auto-highlight-symbol-mode))
(spacemacs//diminish auto-highlight-symbol-mode "")
;; mini-mode to easily jump from a highlighted symbol to the others
(defmacro spacemacs/ahs-advicer (symbol)
`(let* ((advised ,symbol)
(advice (intern (format "spacemacs/%s" (symbol-name advised)))))
(message "%s" advice)
(defadvice advised (after advice activate)
(spacemacs/auto-highlight-symbol-overlay-map))))
(dolist (sym '(ahs-forward
ahs-forward-definition
ahs-backward