ui/doom: add docstrings for blink-cursor funcs
This commit is contained in:
parent
c22375b7d7
commit
e071545d36
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue