[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 1ce1237326 1/5: Remove unreachable condition
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 1ce1237326 1/5: Remove unreachable condition |
Date: |
Mon, 15 Aug 2022 02:57:32 -0400 (EDT) |
branch: externals/denote
commit 1ce1237326bde1a95e8a61b38fd135fa697cdb78
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Remove unreachable condition
---
denote.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/denote.el b/denote.el
index c9e1607ada..d4d2851526 100644
--- a/denote.el
+++ b/denote.el
@@ -442,9 +442,7 @@ trailing hyphen."
".*" denote--extension-regexp
"\\(.gpg\\)?"
"\\'")
- file-name)
- ;; Can this ever be t given the above?
- (not (string-match-p "[#~]\\'" file)))))
+ file-name))))
(defun denote--file-has-identifier-p (file)
"Return non-nil if FILE has a Denote identifier."