From cba91baa04346cfcf9a45f9a9ec327a58154341e Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Mon, 18 Nov 2013 01:06:08 -0500 Subject: [PATCH] Add after macro --- my-macros.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/my-macros.el b/my-macros.el index d6232fbde..930c12e5c 100644 --- a/my-macros.el +++ b/my-macros.el @@ -1,3 +1,9 @@ +;; http://milkbox.net/note/single-file-master-emacs-configuration/ +(defmacro after (mode &rest body) + "`eval-after-load' MODE evaluate BODY." + (declare (indent defun)) + `(eval-after-load ,mode '(progn ,@body))) + ;; Works only with selections from top to bottom (fset 'mac-mc-edit-beginnings-of-lines-tb (lambda (&optional arg)