aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/notmuch.el
diff options
context:
space:
mode:
authorGravatar David Bremner <bremner@debian.org>2013-06-02 09:16:10 -0300
committerGravatar David Bremner <bremner@debian.org>2013-06-02 11:37:22 -0300
commit9de0639126091fa0e48cfde69e3f6044d167a76a (patch)
treecda5dd0af093ebf029b281d1ed3db4154725868c /emacs/notmuch.el
parent5461c31d648f8ee6a8fb713c96ad10bc6d733c29 (diff)
emacs: replace (funcall 'foo ...) with (foo ...)
I can't see any benefit to the funcall, and it looks like the result of cut-and-paste from some code that actually used a variable for the function to call.
Diffstat (limited to 'emacs/notmuch.el')
-rw-r--r--emacs/notmuch.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 5a8c9570..af107e28 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -562,7 +562,7 @@ will be signaled."
(defun notmuch-search-tag-region (beg end &optional tag-changes)
"Change tags for threads in the given region."
(let ((search-string (notmuch-search-find-thread-id-region-search beg end)))
- (setq tag-changes (funcall 'notmuch-tag search-string tag-changes))
+ (setq tag-changes (notmuch-tag search-string tag-changes))
(notmuch-search-foreach-result beg end
(lambda (pos)
(notmuch-search-set-tags
@@ -576,7 +576,7 @@ See `notmuch-tag' for information on the format of TAG-CHANGES."
(interactive)
(let* ((beg (if (region-active-p) (region-beginning) (point)))
(end (if (region-active-p) (region-end) (point))))
- (funcall 'notmuch-search-tag-region beg end tag-changes)))
+ (notmuch-search-tag-region beg end tag-changes)))
(defun notmuch-search-add-tag ()
"Same as `notmuch-search-tag' but sets initial input to '+'."