summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2022-11-20 04:20:13 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2022-11-20 04:20:13 +0100
commit352d719a1ff657446aced15ad730669553446795 (patch)
treec2c4ce0871d34ac4309ce59b8ac6a3321291431a
parentc735db62c2eb78c9dbf726de2aabe1b667494df0 (diff)
Expand docstrings
-rw-r--r--extensions/corfu-popupinfo.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/corfu-popupinfo.el b/extensions/corfu-popupinfo.el
index 376177a..52ea555 100644
--- a/extensions/corfu-popupinfo.el
+++ b/extensions/corfu-popupinfo.el
@@ -364,7 +364,8 @@ the candidate popup, its value is 'bottom, 'top, 'right or 'left."
"Scroll text of info popup window upward N lines.
If ARG is omitted or nil, scroll upward by a near full screen.
-See `scroll-up' for details."
+See `scroll-up' for details. If the info popup is not visible,
+the other window is scrolled."
(interactive "p")
(if (corfu-popupinfo--visible-p)
(with-selected-frame corfu-popupinfo--frame
@@ -375,7 +376,7 @@ See `scroll-up' for details."
(defun corfu-popupinfo-scroll-down (&optional n)
"Scroll text of info popup window down N lines.
-If ARG is omitted or nil, scroll down by a near full screen."
+See `corfu-popupinfo-scroll-up' for more details."
(interactive "p")
(corfu-popupinfo-scroll-up (- (or n 1))))