mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
ui/doom: add docstrings for blink-cursor funcs
This commit is contained in:
@ -100,7 +100,7 @@
|
|||||||
:commands nav-flash-show
|
:commands nav-flash-show
|
||||||
:init
|
:init
|
||||||
(defun doom*blink-cursor-maybe (orig-fn &rest args)
|
(defun doom*blink-cursor-maybe (orig-fn &rest args)
|
||||||
"Blink line, to keep track of the cursor."
|
"Blink current line if the window has moved."
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((point (save-excursion (goto-char (window-start))
|
(let ((point (save-excursion (goto-char (window-start))
|
||||||
(point-marker))))
|
(point-marker))))
|
||||||
@ -111,6 +111,7 @@
|
|||||||
(doom/blink-cursor))))
|
(doom/blink-cursor))))
|
||||||
|
|
||||||
(defun doom/blink-cursor (&rest _)
|
(defun doom/blink-cursor (&rest _)
|
||||||
|
"Blink current line using `nav-flash'."
|
||||||
(interactive)
|
(interactive)
|
||||||
(unless (minibufferp)
|
(unless (minibufferp)
|
||||||
(nav-flash-show)
|
(nav-flash-show)
|
||||||
|
Reference in New Issue
Block a user