docs(emacs custom elisp): bring back function that disappeared

This commit is contained in:
Lucien Cartier-Tilet 2024-01-22 21:19:49 +01:00
parent 13f5dde10a
commit 0d2298c162
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -104,6 +104,21 @@ focus the new window immediately.
(delete-window))) (delete-window)))
#+end_src #+end_src
** Resize windows
#+begin_src emacs-lisp
(with-eval-after-load 'hydra
(defhydra windows-adjust-size ()
"
_s_: enlarge
_c_: enlarge _r_: right
_t_: shrink
"
("c" enlarge-window-horizontally)
("t" shrink-window)
("s" enlarge-window)
("r" shrink-window-horizontally)))
#+end_src
** Extend ~add-to-list~ ** Extend ~add-to-list~
One function I find missing regarding ~add-to-list~ is ~add-all-to-list~ One function I find missing regarding ~add-to-list~ is ~add-all-to-list~
which enables the user to add multiple elements to a list at once. which enables the user to add multiple elements to a list at once.