diff options
author | Yuchen Pei <id@ypei.org> | 2025-01-01 18:00:50 +1100 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2025-01-01 18:00:50 +1100 |
commit | c0d30da504fb0b68d8c28ff61a5e0095acda7f5f (patch) | |
tree | 24de21a3d89df8957c0a43c233872dfa60cf3962 /nov.el | |
parent | bbb5c60bfd6b09cffe0406a56930105335f07887 (diff) |
This makes org open link open nov links to another buffer.
Diffstat (limited to 'nov.el')
-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)) |