From 1d342abeb8db1c3a75a33c31b13471aac063ae7e Mon Sep 17 00:00:00 2001 Message-Id: <1d342abeb8db1c3a75a33c31b13471aac063ae7e.1718372593.git.mdw@distorted.org.uk> From: Mark Wooding Date: Fri, 29 Apr 2016 16:59:27 +0100 Subject: [PATCH] el/dot-emacs.el (diary-add-to-list): Compile the advice. Organization: Straylight/Edgeware From: Mark Wooding --- el/dot-emacs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 53c3c5e..cdc65f3 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -370,7 +370,7 @@ (defadvice org-agenda-list (around mdw-preserve-links activate) (let ((mdw-diary-for-org-mode-p t)) ad-do-it)) -(defadvice diary-add-to-list (before mdw-trim-leading-space activate) +(defadvice diary-add-to-list (before mdw-trim-leading-space compile activate) "Trim leading space from the diary entry string." (save-match-data (let ((str (ad-get-arg 1)) -- [mdw]