[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] [PATCH] Remove superfluous lambda.
From: |
David Maus |
Subject: |
[Orgmode] [PATCH] Remove superfluous lambda. |
Date: |
Sat, 19 Jun 2010 16:44:15 +0200 |
Argh. Just realized that (lambda (e) (car e)) is equivalent to (car
e). This one goes on top of the patches.
* org-feed.el (org-feed-unescape): Remove superfluous lambda.
---
lisp/org-feed.el | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/lisp/org-feed.el b/lisp/org-feed.el
index 3edcf1a..cda7368 100644
--- a/lisp/org-feed.el
+++ b/lisp/org-feed.el
@@ -271,8 +271,7 @@ have been saved."
(defun org-feed-unescape (s)
"Unescape protected entities in S."
(let ((re (concat "&\\("
- (mapconcat (lambda (e)
- (car e)) xml-entity-alist "\\|")
+ (mapconcat 'car xml-entity-alist "\\|")
"\\);")))
(while (string-match re s)
(setq s (replace-match
--
1.7.1
- [Orgmode] org-feed not working for codeproject, zwz, 2010/06/18
- Re: [Orgmode] org-feed not working for codeproject, David Maus, 2010/06/19
- [Orgmode] Re: org-feed not working for codeproject, zwz, 2010/06/19
- [Orgmode] [PATCH 0/4] org-feed: Improve feed parsing, David Maus, 2010/06/19
- [Orgmode] [PATCH 1/4] Respect possible XML namespace of rss:item elements., David Maus, 2010/06/19
- [Orgmode] [PATCH 2/4] Ignore case of rss element names., David Maus, 2010/06/19
- [Orgmode] [PATCH 3/4] Unescape protected entities defined in `xml-entity-alist'., David Maus, 2010/06/19
- [Orgmode] [PATCH 4/4] Unescape rss element content., David Maus, 2010/06/19
- [Orgmode] [PATCH] Declare variable `xml-entity-alist' for byte compiler., David Maus, 2010/06/19
- [Orgmode] [PATCH] Remove superfluous lambda.,
David Maus <=