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

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

[elpa] externals/denote 791ac93f4d: Fix regression with wrong extension


From: ELPA Syncer
Subject: [elpa] externals/denote 791ac93f4d: Fix regression with wrong extension assignment while renaming
Date: Fri, 10 May 2024 15:57:43 -0400 (EDT)

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

    Fix regression with wrong extension assignment while renaming
    
    Thanks to Kolmas for bringing this matter to my attention in issue
    343: <https://github.com/protesilaos/denote/issues/343>.
---
 README.org | 14 +++++++-------
 denote.el  |  2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/README.org b/README.org
index 2d01cb507a..a07017c8a2 100644
--- a/README.org
+++ b/README.org
@@ -5413,13 +5413,13 @@ Denote is meant to be a collective effort.  Every bit 
of help matters.
   Frank Ehmsen, Glenna D., Guo Yong, Hanspeter Gisler Harold Ollivier,
   Jack Baty, Jay Rajput, Jean-Charles Bagneris, Jens Östlund, Jeremy
   Friesen, Jonathan Sahar, Johan Bolmsjö, Jousimies, Juanjo Presa,
-  Julian Hoch, Kai von Fintel, Kaushal Modi, M. Hadi Timachi, Mark
-  Olson, Mirko Hernandez, Niall Dooley, Paul van Gelder, Peter Prevos,
-  Peter Smith, Suhail Singh, Shreyas Ragavan, Stefan Thesing, Summer
-  Emacs, Sven Seebeck, Taoufik, TJ Stankus, Vick (VicZz), Viktor Haag,
-  Wade Mealing, Yi Liu, Ypot, atanasj, babusri, doolio, drcxd,
-  fingerknight, hpgisler, mentalisttraceur, pRot0ta1p, rbenit68,
-  relict007, sienic, sundar bp.
+  Julian Hoch, Kai von Fintel, Kaushal Modi, Kolmas, M. Hadi Timachi,
+  Mark Olson, Mirko Hernandez, Niall Dooley, Paul van Gelder, Peter
+  Prevos, Peter Smith, Suhail Singh, Shreyas Ragavan, Stefan Thesing,
+  Summer Emacs, Sven Seebeck, Taoufik, TJ Stankus, Vick (VicZz),
+  Viktor Haag, Wade Mealing, Yi Liu, Ypot, atanasj, babusri, doolio,
+  drcxd, fingerknight, hpgisler, mentalisttraceur, pRot0ta1p,
+  rbenit68, relict007, sienic, sundar bp.
 
 Special thanks to Peter Povinec who helped refine the file-naming
 scheme, which is the cornerstone of this project.
diff --git a/denote.el b/denote.el
index 63aa58277b..3695999d93 100644
--- a/denote.el
+++ b/denote.el
@@ -2729,7 +2729,7 @@ Respect `denote-rename-confirmations' and 
`denote-save-buffers'."
          (current-keywords (denote-extract-keywords-from-path file))
          (keywords (denote-keywords-sort keywords))
          (directory (file-name-directory file))
-         (extension (denote--file-extension file-type))
+         (extension (file-name-extension file :include-period))
          ;; TODO: For now, we cannot change the identifier. We retrieve
          ;; the current one or generate a new one with DATE, if non-nil.
          (id (or (denote-retrieve-filename-identifier file)



reply via email to

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