pulse only enable in graphic environment

This commit is contained in:
zedhugh committed 2024-08-13 21:22:48 +08:00
1 parent cdb0bac83f
commit c11c30a8bc
1 file changed
+1 -1
+1 -1
View File
@@ -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