pulse only enable in graphic environment
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
(defun creature/pulse-line (&rest _)
|
(defun creature/pulse-line (&rest _)
|
||||||
"Pulse the current line."
|
"Pulse the current line."
|
||||||
(when creature/pulse-enable
|
(when (and creature/pulse-enable (display-graphic-p))
|
||||||
(pulse-momentary-highlight-one-line (point))))
|
(pulse-momentary-highlight-one-line (point))))
|
||||||
|
|
||||||
;; pulse setup, like beacon
|
;; pulse setup, like beacon
|
||||||
|
|||||||
Reference in new issue
Block a user