diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-11-11 21:58:03 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-11-11 21:58:03 -0500 |
commit | cff269286d3e9b45e7b3e18099118486092a0a30 (patch) | |
tree | 4f6828479325680f928f60c2d568f1098abe9e9d | |
parent | a513bac4fb7c77a001c37c55d7e1464b95d3600a (diff) | |
download | bog-cff269286d3e9b45e7b3e18099118486092a0a30.tar.gz |
Stop quoting lambdas
-rw-r--r-- | bog.el | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |