From cff269286d3e9b45e7b3e18099118486092a0a30 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 11 Nov 2014 21:58:03 -0500 Subject: Stop quoting lambdas --- bog.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bog.el') 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) -- cgit v1.2.3