diff options
author | jao <jao@gnu.org> | 2022-09-04 05:43:48 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-09-04 05:43:48 +0100 |
commit | b898efed72f7b7e47c94be3a99264393d5bc4364 (patch) | |
tree | 2c857a2ad0878b704d4a6cc20a2d98ed44a09a83 /init.el | |
parent | 852a91dd73b554832bf6623e2156532da1220f29 (diff) | |
download | elibs-b898efed72f7b7e47c94be3a99264393d5bc4364.tar.gz elibs-b898efed72f7b7e47c94be3a99264393d5bc4364.tar.bz2 |
jao-river-zathura-kill-link
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -499,6 +499,13 @@ (jao-river-to-ws 1) (jao-pdf-goto-zathura-org title t))) +(defun jao-river-zathura-kill-link () + (when-let* ((title (jao-river-get-focused-title)) + (lnk (jao-pdf-zathura-org-link title))) + (jao-river-to-ws 1) + (kill-new lnk) + (message "Link to %s killed" title))) + (defun jao-river-find-zathura-window (file) (let ((frx (regexp-quote (file-name-nondirectory file)))) (seq-some (lambda (w) |