chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
33aa287
)
el/dot-emacs.el (diary-add-to-list): Compile the advice.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 29 Apr 2016 15:59:27 +0000
(16:59 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 29 Apr 2016 15:59:27 +0000
(16:59 +0100)
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index 53c3c5e46bf62f2fd00c8d5b15d72158ddb703d5..cdc65f3343b67f26c266a522b0e151ff14a1c339 100644
(file)
--- 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))
(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))
"Trim leading space from the diary entry string."
(save-match-data
(let ((str (ad-get-arg 1))