The Lambda Lab
/
projects
/
lurk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
056830a
)
Clicking the current context now toggles zoom.
author
plugd
<plugd@thelambdalab.xyz>
Thu, 29 Jul 2021 08:31:22 +0000
(10:31 +0200)
committer
plugd
<plugd@thelambdalab.xyz>
Thu, 29 Jul 2021 08:31:22 +0000
(10:31 +0200)
lurk.el
patch
|
blob
|
history
diff --git
a/lurk.el
b/lurk.el
index
535b990
..
edfb66f
100644
(file)
--- a/
lurk.el
+++ b/
lurk.el
@@
-472,7
+472,10
@@
portion of the source component of the message, as LURK doesn't use this.")
(buffer-string)))
(defun lurk--context-button-action (button)
- (lurk-set-current-context (button-get button 'context)))
+ (let ((context (button-get button 'context)))
+ (if (eq lurk-current-context context)
+ (lurk-toggle-zoom)
+ (lurk-set-current-context context))))
(defun lurk-display-string (context prefix &rest strings)
(with-current-buffer "*lurk*"