Permalink
Browse files

Fix hl-sexp anti-flicker advice

  • Loading branch information...
1 parent 2612b9f commit 159226ee07c7a6285eb1934a32621734a9a71cbd @purcell committed Mar 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 init-lisp.el
View
@@ -89,7 +89,7 @@
;; Prevent flickery behaviour due to hl-sexp-mode unhighlighting before each command
(eval-after-load 'hl-sexp
- '(defadvice hl-sexp-mode (after unflicker (turn-on) activate)
+ '(defadvice hl-sexp-mode (after unflicker (&optional turn-on) activate)
(when turn-on
(remove-hook 'pre-command-hook #'hl-sexp-unhighlight))))

0 comments on commit 159226e

Please sign in to comment.