summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-11-11 21:58:03 -0500
committerKyle Meyer <kyle@kyleam.com>2014-11-11 21:58:03 -0500
commitcff269286d3e9b45e7b3e18099118486092a0a30 (patch)
tree4f6828479325680f928f60c2d568f1098abe9e9d
parenta513bac4fb7c77a001c37c55d7e1464b95d3600a (diff)
downloadbog-cff269286d3e9b45e7b3e18099118486092a0a30.tar.gz
Stop quoting lambdas
-rw-r--r--bog.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/bog.el b/bog.el
index cd1d26c..71e565a 100644
--- a/bog.el
+++ b/bog.el
@@ -246,7 +246,7 @@ year, and the first meaningful word in the title)."
(let ((groups (or groups '(1 2 3)))
(delim (or delim " ")))
(string-match bog-citekey-format citekey)
- (mapconcat #'(lambda (g) (match-string-no-properties g citekey))
+ (mapconcat (lambda (g) (match-string-no-properties g citekey))
groups delim)))
(defun bog-citekey-at-point ()
@@ -721,14 +721,14 @@ SORTING-TYPE is a character passed to `org-sort-entries'. If nil,
?a is used. The level to sort is determined by
`bog-topic-heading-level'."
(interactive)
- (org-map-entries '(lambda () (bog-sort-if-topic-header sorting-type))))
+ (org-map-entries (lambda () (bog-sort-if-topic-header sorting-type))))
(defun bog-sort-topic-headings-in-notes (&optional sorting-type)
"Sort topic headings in notes.
Unlike `bog-sort-topic-headings-in-buffer', sort topic headings
in all Bog notes."
(interactive)
- (org-map-entries '(lambda () (bog-sort-if-topic-header sorting-type))
+ (org-map-entries (lambda () (bog-sort-if-topic-header sorting-type))
nil (bog-notes-files)))
(defun bog-sort-if-topic-header (sorting-type)