display-prefix
This commit is contained in:
parent
ffdb76b6ad
commit
c262c37177
@ -161,6 +161,11 @@
|
|||||||
;; functions
|
;; functions
|
||||||
;; =============================================================================
|
;; =============================================================================
|
||||||
|
|
||||||
|
(defun display-prefix (arg)
|
||||||
|
"Display the value of the raw prefix arg."
|
||||||
|
(interactive "P")
|
||||||
|
(message "%s" arg))
|
||||||
|
|
||||||
(defmacro imalison:prefix-alternative (name default alternative)
|
(defmacro imalison:prefix-alternative (name default alternative)
|
||||||
`(defun ,name (arg) (interactive "P")
|
`(defun ,name (arg) (interactive "P")
|
||||||
(if arg (call-interactively (quote ,alternative))
|
(if arg (call-interactively (quote ,alternative))
|
||||||
|
Loading…
Reference in New Issue
Block a user