From 980a12416bbcadaf37f5aa3a652c478e9283a16d Mon Sep 17 00:00:00 2001 From: Peter Mao Date: Sat, 8 Jul 2023 22:40:34 -0700 Subject: [PATCH] bugfix - skip filenames w/o extensions --- org-noter-core.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org-noter-core.el b/org-noter-core.el index 293ad28..8ac9408 100644 --- a/org-noter-core.el +++ b/org-noter-core.el @@ -1757,7 +1757,8 @@ can still be initiated from the notes file, but not vice-versa, nor will future renames of the document be synced in the notes file." - (when (and (member-ignore-case (file-name-extension document-path) + (when (and (file-name-extension document-path) + (member-ignore-case (file-name-extension document-path) org-noter--doc-extensions) (not (file-exists-p document-path)) (file-exists-p new-document-path))