]> git.notmuchmail.org Git - notmuch/commit
notmuch-maildir-fcc: elisp syntax fixes
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Mon, 26 Apr 2010 08:23:17 +0000 (10:23 +0200)
committerCarl Worth <cworth@cworth.org>
Mon, 26 Apr 2010 18:58:43 +0000 (11:58 -0700)
commitc000c4b394132536eed5cfadbeec58f9c7fb5056
tree90c58062c718ef5242e481f4e9d885684da6eceb
parent36245db69d24df8995615fd48e5dca8728e5042e
notmuch-maildir-fcc: elisp syntax fixes

1)use insert-buffer-substring

Rather than the insert-buffer. Emacs complains that it is for interactive use
and not for use within elisp. So use insert-buffer-substring which does the
same thing when not handed any 'begin' 'end' parameters.

2)replace caddr with (car (cdr (cdr)))

The former requires 'cl to be loaded and during make install emacs complained
about not knowing it.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
emacs/notmuch-maildir-fcc.el