From: Mark Wooding Date: Fri, 29 Apr 2016 15:59:27 +0000 (+0100) Subject: el/dot-emacs.el (diary-add-to-list): Compile the advice. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/1d342abeb8db1c3a75a33c31b13471aac063ae7e?hp=-c el/dot-emacs.el (diary-add-to-list): Compile the advice. --- 1d342abeb8db1c3a75a33c31b13471aac063ae7e 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))