[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-hydra baddac7 129/395: counsel-kmacro: Handle poten
From: |
Basil L. Contovounesios |
Subject: |
[elpa] externals/ivy-hydra baddac7 129/395: counsel-kmacro: Handle potential error from `edmacro-fix-menu-commands`. |
Date: |
Thu, 25 Feb 2021 08:31:46 -0500 (EST) |
branch: externals/ivy-hydra
commit baddac7825ee1178a0d7f5b438bb38199f541c6a
Author: dude <ej32u@protonmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>
counsel-kmacro: Handle potential error from `edmacro-fix-menu-commands`.
- It can't format keyboard macros with mouse clicks. Instead, just display a
string with warning in place of the macro.
- Not sure what can really be done about that.
---
counsel.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/counsel.el b/counsel.el
index 1ae1d87..5505b2e 100644
--- a/counsel.el
+++ b/counsel.el
@@ -5357,7 +5357,10 @@ This is a combination of `kmacro-ring' and, together in
a list, `last-kbd-macro'
(lambda (kmacro)
(cons
(concat "(" (nth 2 kmacro) "," (number-to-string (nth 1 kmacro)) "): "
- (format-kbd-macro (if (listp kmacro) (car kmacro) kmacro) 1))
+ (condition-case nil
+ (format-kbd-macro (if (listp kmacro) (car kmacro) kmacro) 1)
+ ;; Recover from error from `edmacro-fix-menu-commands'.
+ (error "Warning: Cannot display macros containing mouse
clicks.")))
kmacro))
(cons
(if (listp last-kbd-macro)
- [elpa] externals/ivy-hydra e3a72a5 096/395: Add XDG recent files to counsel-recentf., (continued)
- [elpa] externals/ivy-hydra e3a72a5 096/395: Add XDG recent files to counsel-recentf., Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 00e5e0d 099/395: Apply resize to window size change hook., Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 4875c7b 101/395: ivy.el (ivy-current-match): Add :extend t, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 5430e11 107/395: ivy.el (ivy-regex): Add, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra f40a465 117/395: ivy.el (ivy-avy-style): New defcustom, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra eb83a3c 110/395: ivy.el (ivy--update-minibuffer): Extract, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 5974f06 124/395: counsel.el (counsel-evil-marks): Improve, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra b8dd986 112/395: swiper.el (swiper-isearch-format-function): Fix for ivy-prescient, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 526c7aa 113/395: counsel-org-tag-action: message when a tag has been removed., Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 3fa1677 118/395: counsel.el (counsel--imenu-candidates): Use "Functions" only for Elisp, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra baddac7 129/395: counsel-kmacro: Handle potential error from `edmacro-fix-menu-commands`.,
Basil L. Contovounesios <=
- [elpa] externals/ivy-hydra 03be27a 127/395: counsel-kmacro: Small corrections in a few doc strings., Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra ff59888 136/395: ivy.el (ivy-read-action-format-columns): Add, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 4d497e2 132/395: Add support for adding additional multi-actions, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 27b2ae5 141/395: Don't hardcode C-s and C-r, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 6a902b5 145/395: counsel.el (string-trim-left): Add declare-function, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 98a29b6 148/395: Fix C-<backspace> not working in counsel-file-jump, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 19bc4ed 149/395: ivy.el (ivy-ignore-buffers): Ignore *tramp/ buffers, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 982a5ac 150/395: ivy.el (ivy--tramp-candidates): The initial directory on remote should be "/", Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 554c178 158/395: ivy.el (ivy-set-actions): Allow to override the default action using "o", Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 0cff3e1 157/395: swiper.el (swiper): Add isearch-clean-overlays, Basil L. Contovounesios, 2021/02/25