aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-10-12 06:41:15 +0000
committerGlenn Morris2007-10-12 06:41:15 +0000
commitb6064d523071a2a92f8499302fe0d62aed498500 (patch)
treea472467dd692fbe5d37ba06ecc25d09e39198ca1
parent551e625ffe12c7189ac631326dc8d4a7f06d8b0f (diff)
downloademacs-b6064d523071a2a92f8499302fe0d62aed498500.tar.gz
emacs-b6064d523071a2a92f8499302fe0d62aed498500.zip
(org-publish-get-plist-from-filename): Use mapc rather than mapcar.
-rw-r--r--lisp/ChangeLog12
-rw-r--r--lisp/textmodes/org-publish.el2
2 files changed, 13 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 021a624c17e..54f91a56cb9 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,6 @@
12007-10-12 Glenn Morris <rgm@gnu.org>
2
3
12007-10-12 Martin Rudalics <rudalics@gmx.at> 42007-10-12 Martin Rudalics <rudalics@gmx.at>
2 5
3 * window.el (handle-select-window): Revert part of 2007-10-08 6 * window.el (handle-select-window): Revert part of 2007-10-08
@@ -12,6 +15,15 @@
12 * obsolete/hilit19.el (hilit-mode): 15 * obsolete/hilit19.el (hilit-mode):
13 * progmodes/cc-mode.el (c-postprocess-file-styles) 16 * progmodes/cc-mode.el (c-postprocess-file-styles)
14 (c-submit-bug-report): 17 (c-submit-bug-report):
18 * textmodes/org-publish.el (org-publish-get-plist-from-filename):
19 * textmodes/reftex.el (reftex-erase-all-selection-and-index-buffers)
20 (reftex-access-parse-file):
21 * textmodes/reftex-cite.el (reftex-do-citation)
22 (reftex-insert-bib-matches):
23 * textmodes/reftex-ref.el (reftex-offer-label-menu):
24 * textmodes/reftex-sel.el (reftex-select-unmark):
25 * textmodes/reftex-toc.el (reftex-toc-do-promote):
26
15 * vc-mcvs.el (vc-mcvs-checkin): Use mapc rather than mapcar. 27 * vc-mcvs.el (vc-mcvs-checkin): Use mapc rather than mapcar.
16 28
17 * cus-edit.el (custom-variable-menu, custom-face-menu) 29 * cus-edit.el (custom-variable-menu, custom-face-menu)
diff --git a/lisp/textmodes/org-publish.el b/lisp/textmodes/org-publish.el
index a72b477d0b2..bc45a7d9941 100644
--- a/lisp/textmodes/org-publish.el
+++ b/lisp/textmodes/org-publish.el
@@ -426,7 +426,7 @@ nil if not found."
426(defun org-publish-get-plist-from-filename (filename) 426(defun org-publish-get-plist-from-filename (filename)
427 "Return publishing configuration plist for file FILENAME." 427 "Return publishing configuration plist for file FILENAME."
428 (let ((found nil)) 428 (let ((found nil))
429 (mapcar 429 (mapc
430 (lambda (plist) 430 (lambda (plist)
431 (let ((files (org-publish-get-base-files plist))) 431 (let ((files (org-publish-get-base-files plist)))
432 (if (member (expand-file-name filename) files) 432 (if (member (expand-file-name filename) files)