branch: externals/ivy-hydra
commit a5c6ef96a866d3b19d9bdf5d263b79e87fd68b25
Author: okamsn <[email protected]>
Commit: Oleh Krehel <[email protected]>
counsel-kmacro: Create separator with defcustom instead of defvar.
---
counsel.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/counsel.el b/counsel.el
index f6da084..e9b2c1d 100644
--- a/counsel.el
+++ b/counsel.el
@@ -5447,8 +5447,9 @@ value of a macro, using them for a new macro."
(ivy-configure 'counsel-kmacro
:format-fn #'counsel--kmacro-format-function)
-(defvar counsel-kmacro-separator "\n------------------------\n"
- "Separator displayed between keyboard macros in `counsel-kmacro'.")
+(defcustom counsel-kmacro-separator "\n------------------------\n"
+ "Separator displayed between keyboard macros in `counsel-kmacro'."
+ :type 'string)
(defun counsel--kmacro-format-function (formatted-kmacro)
"Transform FORMATTED-KMACRO into a string for `counsel-kmacro'."