* Printing text following the click of a button
@ 2023-07-23 19:37 Heime
0 siblings, 0 replies; only message in thread
From: Heime @ 2023-07-23 19:37 UTC (permalink / raw)
To: Heime via Users list for the GNU Emacs text editor
I am using two button to call two different functions. Would it be possible to just utilise
a single function and due different things according to which button was pressed?
(defun qrh ()
"Prints information about how to install emacs."
(interactive)
(with-help-window (help-buffer)
(insert-button "Front A" 'action 'qrh-action-install-emacs-front-a 'follow-link t)
(insert "\n")
(insert-button "Front B" 'action 'qrh-action-install-emacs-back-a 'follow-link t)) )
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-23 19:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-23 19:37 Printing text following the click of a button Heime
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.