emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote bce2c1b567 37/39: Fix index of 'denote' argument


From: ELPA Syncer
Subject: [elpa] externals/denote bce2c1b567 37/39: Fix index of 'denote' arguments
Date: Mon, 11 Jul 2022 00:57:46 -0400 (EDT)

branch: externals/denote
commit bce2c1b567c3c5e14a1f3e7ddea2ba7ec9617ade
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Fix index of 'denote' arguments
    
    Thanks to Jean-Philippe Gagné Guay for pointing this out:
    <https://github.com/protesilaos/denote/issues/41#issuecomment-1179960596>.
---
 denote.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/denote.el b/denote.el
index 0ef156faf1..27104c4b95 100644
--- a/denote.el
+++ b/denote.el
@@ -750,8 +750,8 @@ When called from Lisp, all arguments are optional.
          ('title (aset args 0 (denote--title-prompt)))
          ('keywords (aset args 1 (denote--keywords-prompt)))
          ('file-type (aset args 2 (denote--file-type-prompt)))
-         ('subdirectory (aset args 4 (denote--subdirs-prompt)))
-         ('date (aset args 3 (denote--date-prompt)))))
+         ('subdirectory (aset args 3 (denote--subdirs-prompt)))
+         ('date (aset args 4 (denote--date-prompt)))))
      (append args nil)))
   (let* ((denote-file-type (denote--file-type-symbol (or file-type 
denote-file-type)))
          (date (if (or (null date) (string-empty-p date))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]