el/dot-emacs.el (diary-add-to-list): Compile the advice.
[profile] / el / dot-emacs.el
index 53c3c5e..cdc65f3 100644 (file)
@@ -370,7 +370,7 @@ as output rather than a string."
   (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))