chiark / gitweb /
el/dot-emacs.el (diary-add-to-list): Compile the advice.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 29 Apr 2016 15:59:27 +0000 (16:59 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 29 Apr 2016 15:59:27 +0000 (16:59 +0100)
el/dot-emacs.el

index 53c3c5e46bf62f2fd00c8d5b15d72158ddb703d5..cdc65f3343b67f26c266a522b0e151ff14a1c339 100644 (file)
@@ -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))