Paste number 151626: Magit Popups

Paste number 151626: Magit Popups
Pasted by: tsdh
When:6 years, 3 months ago
Share:Tweet this! | http://paste.lisp.org/+38ZU
Channel:None
Paste contents:
Raw Source | XML | Display As
(magit-define-popup my-popup
  "Docs"
  :actions '((?n "Nested" my-nested-popup)
	     (?x "Execute" (lambda ()
			     (interactive)
			     (message "EXECUTE")))))

(magit-define-popup my-nested-popup
  "More docs"
  :actions '((?n "More nesting" my-popup)
	     (?x "Execute nested" (lambda ()
				    (interactive)
				    (message "EXECUTE NESTED")))))

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.