diff options
| author | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-09-30 17:49:26 -0400 |
|---|---|---|
| committer | Tom Dalziel <tom_dl@hotmail.com> | 2023-08-20 23:46:23 +0100 |
| commit | a9a9c65b5d0777048c4e8a66fcc06032e3dafc18 (patch) | |
| tree | 5f96c57421230487443c8bc066e2a01c433eeff2 /evil-commands.el | |
| parent | 3398b13b7455000d5647a13e0dfaf06ba8e31ba2 (diff) | |
Misc minor changes
* README.md: Mention that `undo-fu` is also in NonGNU ELPA and update
its repository URL.
* evil.el: Update the undo-fu repository URL.
* evil-macros.el (evil-define-interactive-code): Move the insertion of
quote around `func` to the `cond` so the `quote` is not incorrectly
added around lambda forms.
* evil-tests.el: Add a FIXME.
* evil-commands.el (evil-save-side-windows): Silence spurious warning.
Diffstat (limited to 'evil-commands.el')
| -rw-r--r-- | evil-commands.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/evil-commands.el b/evil-commands.el index 8d3db3d..40a0132 100644 --- a/evil-commands.el +++ b/evil-commands.el @@ -4451,8 +4451,11 @@ The \"!\" argument means to sort in reverse order." "Toggle side windows, evaluate BODY, restore side windows." (declare (indent defun) (debug (&rest form))) (let ((sides (make-symbol "sidesvar"))) - `(let ((,sides (and (functionp 'window-toggle-side-windows) + `(let ((,sides (and (fboundp 'window-toggle-side-windows) (window-with-parameter 'window-side)))) + ;; The compiler doesn't understand that all uses are protected + ;; by `fboundp' :-( + (declare-function window-toggle-side-windows "window") (when ,sides (window-toggle-side-windows)) (unwind-protect |
