[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Printing text following the click of a button
From: |
Heime |
Subject: |
Printing text following the click of a button |
Date: |
Sun, 23 Jul 2023 19:37:05 +0000 |
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)) )
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Printing text following the click of a button,
Heime <=