[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/which-key 1f9c37d 03/32: Merge pull request #305 from t
From: |
ELPA Syncer |
Subject: |
[elpa] externals/which-key 1f9c37d 03/32: Merge pull request #305 from tarsiiformes/first-line |
Date: |
Wed, 30 Jun 2021 18:57:26 -0400 (EDT) |
branch: externals/which-key
commit 1f9c37d50f08995c8671822591c8babb893ccc6f
Merge: 12f743c 0f6bda6
Author: Justin Burkett <justin@burkett.cc>
Commit: GitHub <noreply@github.com>
Merge pull request #305 from tarsiiformes/first-line
Improve first doc-string line in trivial cases
---
which-key.el | 62 +++++++++++++++++++++++++++++++-----------------------------
1 file changed, 32 insertions(+), 30 deletions(-)
diff --git a/which-key.el b/which-key.el
index 9b4005a..6d69482 100644
--- a/which-key.el
+++ b/which-key.el
@@ -56,8 +56,8 @@
:prefix "which-key-")
(defcustom which-key-idle-delay 1.0
- "Delay (in seconds) for which-key buffer to popup. This
- variable should be set before activating `which-key-mode'.
+ "Delay (in seconds) for which-key buffer to popup.
+This variable should be set before activating `which-key-mode'.
A value of zero might lead to issues, so a non-zero value is
recommended
@@ -276,14 +276,13 @@ and nil. Nil turns the feature off."
(const :tag "Use your custom display functions" custom)))
(defcustom which-key-min-display-lines 1
- "The minimum number of horizontal lines to display in the
- which-key buffer."
+ "The minimum number of horizontal lines to display in the which-key buffer."
:group 'which-key
:type 'integer)
(defcustom which-key-max-display-columns nil
- "The maximum number of columns to display in the which-key
-buffer. nil means don't impose a maximum."
+ "The maximum number of columns to display in the which-key buffer.
+nil means don't impose a maximum."
:group 'which-key
:type '(choice integer (const :tag "Unbounded" nil)))
@@ -500,10 +499,10 @@ The delay time is effectively added to the normal
:type '(repeat function))
(defcustom which-key-allow-regexps nil
- "A list of regexp strings to use to filter key sequences. When
-non-nil, for a key sequence to trigger the which-key popup it
-must match one of the regexps in this list. The format of the key
-sequences is what is produced by `key-description'."
+ "A list of regexp strings to use to filter key sequences.
+When non-nil, for a key sequence to trigger the which-key popup
+it must match one of the regexps in this list. The format of the
+key sequences is what is produced by `key-description'."
:group 'which-key
:type '(repeat regexp))
@@ -739,9 +738,10 @@ update.")
;;;; Evil
(defcustom which-key-allow-evil-operators (boundp 'evil-this-operator)
- "Allow popup to show for evil operators. The popup is normally
- inhibited in the middle of commands, but setting this to
- non-nil will override this behavior for evil operators."
+ "Allow popup to show for evil operators.
+The popup is normally inhibited in the middle of commands, but
+setting this to non-nil will override this behavior for evil
+operators."
:group 'which-key
:type 'boolean)
@@ -772,9 +772,10 @@ problems at github.")
(which-key--hide-popup))))
(defun which-key-enable-god-mode-support (&optional disable)
- "Enable support for god-mode if non-nil. This is experimental,
-so you need to explicitly opt-in for now. Please report any
-problems at github. If DISABLE is non-nil disable support."
+ "Enable support for god-mode if non-nil.
+This is experimental, so you need to explicitly opt-in for
+now. Please report any problems at github. If DISABLE is non-nil
+disable support."
(interactive "P")
(setq which-key--god-mode-support-enabled (null disable))
(if disable
@@ -888,8 +889,7 @@ if there is space and the bottom otherwise."
;;;###autoload
(defun which-key-setup-side-window-bottom ()
- "Apply suggested settings for side-window that opens on
-bottom."
+ "Apply suggested settings for side-window that opens on bottom."
(interactive)
(which-key--setup-echo-keystrokes)
(setq which-key-popup-type 'side-window
@@ -1156,8 +1156,7 @@ total height."
(custom (funcall which-key-custom-hide-popup-function))))
(defun which-key--hide-popup-on-frame-size-change (&optional _)
- "Hide which-key popup if the frame is resized (to trigger a new
-popup)."
+ "Hide which-key popup if the frame is resized (to trigger a new popup)."
(when (which-key--frame-size-changed-p)
(which-key--hide-popup)))
@@ -2249,8 +2248,9 @@ and a page count."
(_ (cons page nil)))))
(defun which-key--show-page (&optional n)
- "Show current page. N changes the current page to the Nth page
-relative to the current one."
+ "Show current page.
+N changes the current page to the Nth page relative to the
+current one."
(which-key--init-buffer) ;; in case it was killed
(let ((prefix-keys (which-key--current-key-string))
golden-ratio-mode)
@@ -2550,8 +2550,8 @@ Only if no bindings fit fallback to LOC2."
;;;###autoload
(defun which-key-show-keymap (keymap &optional no-paging)
- "Show the top-level bindings in KEYMAP using which-key. KEYMAP
-is selected interactively from all available keymaps.
+ "Show the top-level bindings in KEYMAP using which-key.
+KEYMAP is selected interactively from all available keymaps.
If NO-PAGING is non-nil, which-key will not intercept subsequent
keypresses for the paging functionality."
@@ -2562,8 +2562,8 @@ keypresses for the paging functionality."
;;;###autoload
(defun which-key-show-full-keymap (keymap)
- "Show all bindings in KEYMAP using which-key. KEYMAP is
-selected interactively from all available keymaps."
+ "Show all bindings in KEYMAP using which-key.
+KEYMAP is selected interactively from all available keymaps."
(interactive (list (which-key--read-keymap)))
(which-key--show-keymap (symbol-name keymap)
(symbol-value keymap)
@@ -2571,8 +2571,9 @@ selected interactively from all available keymaps."
;;;###autoload
(defun which-key-show-minor-mode-keymap (&optional all)
- "Show the top-level bindings in KEYMAP using which-key. KEYMAP
-is selected interactively by mode in `minor-mode-map-alist'."
+ "Show the top-level bindings in KEYMAP using which-key.
+KEYMAP is selected interactively by mode in
+`minor-mode-map-alist'."
(interactive)
(let ((mode-sym
(intern
@@ -2590,8 +2591,9 @@ is selected interactively by mode in
`minor-mode-map-alist'."
all)))
;;;###autoload
(defun which-key-show-full-minor-mode-keymap ()
- "Show all bindings in KEYMAP using which-key. KEYMAP
-is selected interactively by mode in `minor-mode-map-alist'."
+ "Show all bindings in KEYMAP using which-key.
+KEYMAP is selected interactively by mode in
+`minor-mode-map-alist'."
(interactive)
(which-key-show-minor-mode-keymap t))
- [elpa] externals/which-key cd0c48c 29/32: Clarify usage of keymap replacements in docstrings and README, (continued)
- [elpa] externals/which-key cd0c48c 29/32: Clarify usage of keymap replacements in docstrings and README, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 27d9fec 32/32: Fix compiler warnings, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 4c27fc0 30/32: Improve which-key-add-keymap-based-replacements., ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 8a558e6 06/32: Update tests, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key e42d946 11/32: Fix prefix sorting, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key fc88551 05/32: Remove pseudo binding stuff, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 465d2fb 10/32: Fix add-keymap-based-bindings and associated test, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 6ae80f5 22/32: Try without cask, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key d621634 19/32: Try with cask again, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key a55b908 04/32: Alternative approach to retrieving bindings (WIP), ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 1f9c37d 03/32: Merge pull request #305 from tarsiiformes/first-line,
ELPA Syncer <=
- [elpa] externals/which-key 4e592ed 08/32: Fix type usage and arglists for new functions, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key d6b56f3 13/32: Fix detection of named prefix bindings, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 2444833 12/32: Fix menu-item bidning retrieval, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 7d344ce 17/32: Fix test, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 300c098 16/32: Update README, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 3f76f51 20/32: Fix which-key--group-p, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 8b707ef 15/32: Make enable-extended-define-key obsolete, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key b83c0de 27/32: Clean up which-key--maybe-replace, ELPA Syncer, 2021/06/30
- [elpa] externals/which-key 7abe54f 31/32: Handle closure definition type, ELPA Syncer, 2021/06/30