branch: externals/denote
commit 1da462420f5ee20be7fea48966b8cd7595956935
Author: Jean-Philippe Gagné Guay <[email protected]>
Commit: Jean-Philippe Gagné Guay <[email protected]>
Make denote--keyword-history an alias of denote-keyword-history
---
denote.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/denote.el b/denote.el
index 028e8cb378..23a6b45f45 100644
--- a/denote.el
+++ b/denote.el
@@ -1136,14 +1136,12 @@ the keywords component of a Denote file name. STRING
is the same
as the return value of `denote-retrieve-filename-keywords'."
(string-join (split-string string "_" :omit-nulls "_") ","))
-(define-obsolete-variable-alias
- 'denote--keyword-history
- 'denote-keyword-history
- "3.0.0")
-
(defvar denote-keyword-history nil
"Minibuffer history of inputted keywords.")
+(defalias 'denote--keyword-history 'denote-keyword-history
+ "Compatibility alias for `denote-keyword-history'.")
+
(defun denote--keywords-crm (keywords &optional prompt initial)
"Use `completing-read-multiple' for KEYWORDS.
With optional PROMPT, use it instead of a generic text for file