[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 8dbfe7cb52 1/3: Remove superfluous 'derived-mode
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 8dbfe7cb52 1/3: Remove superfluous 'derived-mode-p' from the menu |
Date: |
Fri, 31 Mar 2023 05:57:49 -0400 (EDT) |
branch: externals/denote
commit 8dbfe7cb5250bfa09468f052a78329e7b4892093
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Remove superfluous 'derived-mode-p' from the menu
---
denote.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/denote.el b/denote.el
index 5a27e21be5..1ae966284b 100644
--- a/denote.el
+++ b/denote.el
@@ -3237,8 +3237,7 @@ This command is meant to be used from a Dired buffer."
"---"
["Rename file" denote-rename-file
:help "Rename file interactively"
- :enable (or (derived-mode-p 'dired-mode)
- (derived-mode-p 'text-mode))]
+ :enable (derived-mode-p 'dired-mode 'text-mode)]
["Rename this file using front matter"
denote-rename-file-using-front-matter
:help "Rename the current file using its front matter as input"
:enable (derived-mode-p 'text-mode)]