diff options
author | Yuchen Pei <id@ypei.org> | 2025-01-01 18:00:50 +1100 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2025-08-25 09:52:49 +1000 |
commit | 7f5c215a3d6b75fc1cbbc62e46ee014cbe2f3f12 (patch) | |
tree | d790a6c0b51b80e72e40b38f404d7bc94f0671bc | |
parent | 933816c190633fa1f2f0667ba105d1311572b3c6 (diff) |
Find file in a separate buffer
This makes org open link open nov links to another buffer.
-rw-r--r-- | nov.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -970,7 +970,7 @@ Saving is only done if `nov-save-place-file' is set." "Open FILE in nov-mode and go to the specified INDEX and POSITION. If FILE is nil, the current buffer is used." (when file - (find-file file)) + (pop-to-buffer (find-file-noselect file))) (unless (eq major-mode 'nov-mode) (nov-mode)) (when (not (nov--index-valid-p nov-documents index)) |