all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Ability to use a button to run interactive function
@ 2023-08-28 14:34 Heime
  2023-08-28 14:45 ` Emanuel Berg
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Heime @ 2023-08-28 14:34 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor

The following function does not allow me to call it via a button.  Would
this be possible, whilst also be allowed to call the function interactively 
using 'M-x maces-snapshot' ?


(defun maces-snapshot ()
  "Prints information about how to install emacs."
  (interactive)

  (with-help-window (help-buffer)

    (insert-button "[F5]" 'action 'action-snapshot
      'follow-link t)
    (insert " A Snapshot Repository \n")

    (insert-button "[B5]" 'action 'action-snapshot
      'follow-link t)
    (insert " Obtaining a Snapshot Repository with Git \n") ))






^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-08-28 20:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-28 14:34 Ability to use a button to run interactive function Heime
2023-08-28 14:45 ` Emanuel Berg
2023-08-28 14:55 ` Stephen Berman
2023-08-28 16:33   ` Heime
2023-08-28 20:02     ` Stephen Berman
2023-08-28 15:28 ` Marcin Borkowski

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.