Skip to content

Commit

Permalink
Merge branch 'feature/sync-noter-document' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
petermao committed Jul 11, 2023
2 parents dac381f + e84c622 commit 20f0467
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cask
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(source gnu)
(source melpa-stable)
(source melpa)

(depends-on "buttercup")
(depends-on "pdf-tools")
Expand Down
3 changes: 2 additions & 1 deletion org-noter-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -1778,7 +1778,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))
Expand Down

0 comments on commit 20f0467

Please sign in to comment.