From f380292a19811d8b54ecea79fdf064756d065b2d Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 10 Aug 2016 19:44:20 -0700 Subject: [PATCH] Simplify compose-copy-builder --- dotfiles/emacs.d/README.org | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index e97a70c8..d27970a8 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -888,10 +888,11 @@ This interactive functions allows the user the select a function to invoke using ** Copy String Functions A macro for composing functions together to build an interactive command to copy a string to the kill ring. #+BEGIN_SRC emacs-lisp -(defmacro imalison:compose-copy-builder (name &rest funcs) - `(imalison:named-build ,name - imalison:make-interactive-fn - (imalison:compose-fn kill-new ,@funcs))) +(defmacro imalison:compose-copy-builder-fn (&rest funcs) + `(imalison:make-interactive-fn + (imalison:compose-fn kill-new ,@funcs))) + +(imalison:named-builder imalison:compose-copy-builder) #+END_SRC *** Copy portions of the buffer file name #+BEGIN_SRC emacs-lisp