aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/lisp/my/infobox.el
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2025-02-02 13:36:38 +1100
committerYuchen Pei <id@ypei.org>2025-02-02 13:36:38 +1100
commit618fe180a68331ddf58b2a9679f2f6a088d9fecd (patch)
tree9aac89fbc6cf885d8861c7620e0e833d95395948 /emacs/.emacs.d/lisp/my/infobox.el
parent270b5cd8249bb68cb497e3b41e3ba8409c1aa718 (diff)
[emacs] Add commands to belf to display book info and open a bookHEADmaster
Diffstat (limited to 'emacs/.emacs.d/lisp/my/infobox.el')
-rw-r--r--emacs/.emacs.d/lisp/my/infobox.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/.emacs.d/lisp/my/infobox.el b/emacs/.emacs.d/lisp/my/infobox.el
index 5698042..9c5c7b1 100644
--- a/emacs/.emacs.d/lisp/my/infobox.el
+++ b/emacs/.emacs.d/lisp/my/infobox.el
@@ -113,8 +113,8 @@ something like
(end-of-line)
(insert " -- " (buttonize
"xdg-open"
- (lambda (_)
- (call-process "xdg-open" nil 0 nil filename))))
+ (lambda (_) (call-process "xdg-open" nil 0 nil filename)))
+ " " (buttonize "find-file" (lambda (_) (find-file filename))))
(buffer-string))
`(infobox-exiftool ,filename)
(called-interactively-p 'interactive)