[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote ee4aed6376 316/355: Refine check for denote dir
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote ee4aed6376 316/355: Refine check for denote dir in dired revert |
Date: |
Sun, 26 Jun 2022 23:58:35 -0400 (EDT) |
branch: externals/denote
commit ee4aed637671d2f92955b831c9908a50191e23cb
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Refine check for denote dir in dired revert
This pertains to the post-rename operation where relevant Dired buffers
are reverted. The previous check would sometimes compare incompatible
file paths and thus return nil when it shouldn't.
Thanks to Sven Seebeck for reporting the problem in issue 17 over at the
GitHub mirror: <https://github.com/protesilaos/denote/issues/17>.
---
denote-dired.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/denote-dired.el b/denote-dired.el
index 026dc6f6bb..d7bb2f824a 100644
--- a/denote-dired.el
+++ b/denote-dired.el
@@ -261,7 +261,8 @@ ignores all its arguments."
(lambda (buf)
(with-current-buffer buf
(when (and (eq major-mode 'dired-mode)
- (string-match-p (expand-file-name default-directory)
(denote-directory)))
+ (string-match-p (expand-file-name default-directory)
+ (expand-file-name (denote-directory))))
(revert-buffer))))
(buffer-list)))
- [elpa] externals/denote ecaaa6bb63 259/355: Only consider items with id in directory files, (continued)
- [elpa] externals/denote ecaaa6bb63 259/355: Only consider items with id in directory files, ELPA Syncer, 2022/06/27
- [elpa] externals/denote afeba68044 295/355: Update Commentary of denote-link.el, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 9f536185c9 292/355: Update buttonization doc string, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 69d5dd7fac 304/355: Use subheading for each FAQ entry, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 966fedf1f6 299/355: Write reference card for all functions, variables, ELPA Syncer, 2022/06/27
- [elpa] externals/denote fbe743ad6f 300/355: Tweak sample config for denote-dired-mode, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 8d504a3264 255/355: Check to operate on dired-rename window, ELPA Syncer, 2022/06/27
- [elpa] externals/denote a2e4497486 319/355: Expand the "Extending Denote" section, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 18af2cbcec 321/355: Update Acknowledgements, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 92f9cb8cb9 318/355: Use xref instead of relying on find+grep, ELPA Syncer, 2022/06/27
- [elpa] externals/denote ee4aed6376 316/355: Refine check for denote dir in dired revert,
ELPA Syncer <=
- [elpa] externals/denote 02d6f42ab4 320/355: Merge branch 'xref-instead-of-find', ELPA Syncer, 2022/06/27
- [elpa] externals/denote 6b7aa9db48 313/355: Reword a statement in the manual, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 0fdbbae03e 305/355: Expand FAQ entry on file-naming origin, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 102d1d2d1e 334/355: refactor!: Default Org front-matter to use org-id style ID property, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 25cc5a79e6 332/355: Require built-in xref to parse cross-references, ELPA Syncer, 2022/06/27
- [elpa] externals/denote e4697c563f 342/355: Tweak denote.el Commentary section, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 62fc0308c0 345/355: Tweak sample configuration, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 8d8e96182b 351/355: Fix two typos, ELPA Syncer, 2022/06/27
- [elpa] externals/denote fcf4ea7f53 302/355: Tweak reference to listing files, ELPA Syncer, 2022/06/27
- [elpa] externals/denote ee22a7f380 038/355: Add helper function for line predicates, ELPA Syncer, 2022/06/27