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 9, 2023
2 parents dac381f + 980a124 commit eae4a7a
Showing 1 changed file with 2 additions and 1 deletion.
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 eae4a7a

Please sign in to comment.