Compare commits

..

No commits in common. "33e4d5ca3bd8c60b89975f9dcc8fec3f5ec694d7" and "eba271ef75cfa8cd782093f6e644cf3c4c450612" have entirely different histories.

View File

@ -941,7 +941,7 @@ minibuffer completion]].
#+caption: Set =minibuffer= options. #+caption: Set =minibuffer= options.
#+name: lst:set-minibuffer-options #+name: lst:set-minibuffer-options
#+begin_src emacs-lisp -n :results silent #+begin_src emacs-lisp -n :results silent
(with-eval-after-load 'minibuffer (when (require 'minibuffer nil 'noerror)
;; https://www.masteringemacs.org/article/understanding-minibuffer-completion ;; https://www.masteringemacs.org/article/understanding-minibuffer-completion
(setopt (setopt
completion-category-overrides '((file (styles basic substring))) completion-category-overrides '((file (styles basic substring)))
@ -1009,11 +1009,12 @@ Emacs. Try {{{kbd(C-h o)}}} instead of {{{kbd(C-h f)}}} or {{{kbd(C-h v)}}}.
:CUSTOM_ID: sec:shortdoc-display-group :CUSTOM_ID: sec:shortdoc-display-group
:END: :END:
Listing [[lst:setup-shortdoc]] binds {{{kbd(C-h y)}}} to =shortdoc-display-group=. Listing [[lst:configure-shortdoc]] binds {{{kbd(C-h y)}}} to
=shortdoc-display-group=.
#+caption[Setup =shortdoc=]: #+caption[Configure =shortdoc=]:
#+caption: Setup =shortdoc=. #+caption: Configure =shortdoc=.
#+name: lst:setup-shortdoc #+name: lst:configure-shortdoc
#+begin_src emacs-lisp -n :results silent #+begin_src emacs-lisp -n :results silent
(when (fboundp 'shortdoc-display-group) (when (fboundp 'shortdoc-display-group)
(keymap-set help-map "y" #'shortdoc-display-group)) (keymap-set help-map "y" #'shortdoc-display-group))
@ -1367,7 +1368,7 @@ histories.
#+caption: Enable =savehist-mode= and =vertico-mode=. #+caption: Enable =savehist-mode= and =vertico-mode=.
#+name: lst:enable-vertico-mode #+name: lst:enable-vertico-mode
#+begin_src emacs-lisp -n :results silent #+begin_src emacs-lisp -n :results silent
(with-eval-after-load 'savehist (when (require 'savehist nil 'noerror)
(setopt savehist-additional-variables '(kill-ring search-ring)) (setopt savehist-additional-variables '(kill-ring search-ring))
(savehist-mode +1)) (savehist-mode +1))
(when (and (ensure-package-installation 'vertico) (when (and (ensure-package-installation 'vertico)