mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-27 18:30:47 -08:00
Revert change in default of side-window-bottom
Not happy with the look of it yet, even though it's probably better to avoid the echo area
This commit is contained in:
parent
841f461b22
commit
9dd0ceaaab
2 changed files with 2 additions and 13 deletions
11
README.org
11
README.org
|
|
@ -1,17 +1,6 @@
|
|||
* which-key
|
||||
[[http://melpa.org/#/which-key][http://melpa.org/packages/which-key-badge.svg]] [[http://stable.melpa.org/#/which-key][file:http://stable.melpa.org/packages/which-key-badge.svg]]
|
||||
** What's New
|
||||
- Implemented =bottom= as an option for =which-key-show-prefix=, which will show
|
||||
the key, page number, and next page key information on the last line of the
|
||||
which-key buffer.
|
||||
- This is the new default for =which-key-setup-side-window-bottom=. The old
|
||||
default, which is still available, used the echo area for this information.
|
||||
The echo area is not a good default, because it's not possible to completely
|
||||
control what shows there without doing something ugly, so occasionally the
|
||||
which-key information will be overwritten. To restore the old default simply
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq which-key-show-prefix 'echo)
|
||||
#+END_SRC
|
||||
- The function =which-key-show-top-level= was implemented by @iqbalansari
|
||||
(thanks!) to show top-level key bindings (those not behind a prefix). You can
|
||||
use =M-x which-key-show-top-level= to try it and bind it to a key if you like.
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ and nil. Nil turns the feature off."
|
|||
:group 'which-key
|
||||
:type 'integer)
|
||||
|
||||
(defcustom which-key-side-window-location 'bottom
|
||||
(defcustom which-key-side-window-location 'echo
|
||||
"Location of which-key popup when `which-key-popup-type' is side-window.
|
||||
Should be one of top, bottom, left or right. You can also specify
|
||||
a list of two locations, like (right bottom). In this case, the
|
||||
|
|
@ -565,7 +565,7 @@ bottom."
|
|||
(interactive)
|
||||
(setq which-key-popup-type 'side-window
|
||||
which-key-side-window-location 'bottom
|
||||
which-key-show-prefix 'bottom))
|
||||
which-key-show-prefix 'echo))
|
||||
|
||||
;;;###autoload
|
||||
(defun which-key-setup-minibuffer ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue