Make 'flash-hline actually work

master
Jacopo De Simoi 8 years ago
parent 87b5bb1111
commit 6663b150f2
  1. 2
      global.org

@ -453,6 +453,8 @@
;; (eval-after-load 'tramp '(setenv "SHELL" "/bin/bash"))
(defun flash-hline ()
"Flash the current line to emph some mistake"
(interactive)
(let ((fg (face-foreground 'default))
(bg (face-background 'hl-line)))
(set-face-background 'hl-line fg)

Loading…
Cancel
Save