summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-08-06 01:19:49 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-08-06 01:19:49 +0200
commit4b89f5c0e47b71f8a69a66b2964457092f507437 (patch)
tree08e98d9ed61c196e446c68ac7df5e0143d0477cf
parent7e241af591df15d2b7587648ed2342ae3a5d0e5b (diff)
downloadorg-mode-4b89f5c0e47b71f8a69a66b2964457092f507437.tar.gz
ox-icalendar: Fix thinko
* lisp/ox-icalendar.el (org-icalendar-export-current-agenda): Use `member' instead of `memq'.
-rw-r--r--lisp/ox-icalendar.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox-icalendar.el b/lisp/ox-icalendar.el
index 3dd02bf..e1956cc 100644
--- a/lisp/ox-icalendar.el
+++ b/lisp/ox-icalendar.el
@@ -888,7 +888,7 @@ This function assumes major mode for current buffer is
(seen nil)) ;prevent duplicates
(while (setq p (next-single-property-change p 'org-hd-marker))
(let ((m (get-text-property p 'org-hd-marker)))
- (when (and m (not (memq m seen)))
+ (when (and m (not (member m seen)))
(push m seen)
(with-current-buffer (marker-buffer m)
(org-with-wide-buffer