From c262c37177463551719da4d6deac5260fbd7b395 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 26 Sep 2015 17:46:17 -0700 Subject: [PATCH] display-prefix --- dotfiles/emacs.d/init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 185f24ea..6e72e7e7 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -161,6 +161,11 @@ ;; 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) `(defun ,name (arg) (interactive "P") (if arg (call-interactively (quote ,alternative))