[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote fa5548f766 4/6: Make silo commands not require s
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote fa5548f766 4/6: Make silo commands not require superfluous prefix argument |
Date: |
Thu, 25 Jan 2024 00:57:44 -0500 (EST) |
branch: externals/denote
commit fa5548f7665701e732d8633d6809afbca01daff9
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Make silo commands not require superfluous prefix argument
This was a mistake. The intent was to run those commands without a
prefix argument.
Thanks to l-o-l-h for mentioning this in issue 216:
<https://github.com/protesilaos/denote/issues/216>.
---
denote-silo-extras.el | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/denote-silo-extras.el b/denote-silo-extras.el
index 367e1eb749..31ef6460e8 100644
--- a/denote-silo-extras.el
+++ b/denote-silo-extras.el
@@ -65,24 +65,18 @@ as the variable `denote-directory'."
nil 'denote-silo-extras-directory-history)))
;;;###autoload
-(defun denote-silo-extras-create-note (&optional silo)
+(defun denote-silo-extras-create-note (silo)
"Select SILO and run `denote' in it.
SILO is a file path from `denote-silo-extras-directories'."
- (interactive
- (list
- (when current-prefix-arg
- (denote-silo-extras--directory-prompt))))
+ (interactive (list (denote-silo-extras--directory-prompt)))
(let ((denote-user-enforced-denote-directory silo))
(call-interactively #'denote)))
;;;###autoload
-(defun denote-silo-extras-open-or-create (&optional silo)
+(defun denote-silo-extras-open-or-create (silo)
"Select SILO and run `denote-open-or-create' in it.
SILO is a file path from `denote-silo-extras-directories'."
- (interactive
- (list
- (when current-prefix-arg
- (denote-silo-extras--directory-prompt))))
+ (interactive (list (denote-silo-extras--directory-prompt)))
(let ((denote-user-enforced-denote-directory silo))
(call-interactively #'denote-open-or-create)))
- [elpa] externals/denote updated (941303ee23 -> 68121fdf0c), ELPA Syncer, 2024/01/25
- [elpa] externals/denote fa5548f766 4/6: Make silo commands not require superfluous prefix argument,
ELPA Syncer <=
- [elpa] externals/denote 886c24db07 1/6: Move helper function before its first call, ELPA Syncer, 2024/01/25
- [elpa] externals/denote 984c3feb24 2/6: Make denote-rename-buffer do nothing if there is no underlying file, ELPA Syncer, 2024/01/25
- [elpa] externals/denote 68121fdf0c 6/6: Document in the manual fix for needless C-u in silos (per commit fa5548f), ELPA Syncer, 2024/01/25
- [elpa] externals/denote 5eabd7745b 5/6: Clarify type of SILO argument when called from Lisp, ELPA Syncer, 2024/01/25
- [elpa] externals/denote 1bd8e36f2f 3/6: Define compatibility aliases for all history variables (don't use 'define-obsolete-variable-alias'), ELPA Syncer, 2024/01/25