projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc3b20b
)
Fix detecting dotted pairs in icalendar-export-region
author
hokomo
<hokomo@airmail.cc>
Mon, 27 Jun 2022 08:03:30 +0000
(10:03 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 27 Jun 2022 08:03:30 +0000
(10:03 +0200)
* lisp/calendar/icalendar.el (icalendar-export-region): Fix detecting
dotted pairs (bug#56241).
Copyright-paperwork-exempt: yes
lisp/calendar/icalendar.el
patch
|
blob
|
history
diff --git
a/lisp/calendar/icalendar.el
b/lisp/calendar/icalendar.el
index 1a5a071e202627ecf3d2601d1fbb44e957273eae..cf5429398971469befffd2c3e06d1bb670edb08c 100644
(file)
--- a/
lisp/calendar/icalendar.el
+++ b/
lisp/calendar/icalendar.el
@@
-1144,7
+1144,8
@@
FExport diary data into iCalendar file: ")
(cdr contents-n-summary))))
(setq result (concat result header contents alarm
"\nEND:VEVENT")))
- (if (consp cns-cons-or-list)
+ (if (and (consp cns-cons-or-list)
+ (not (listp (cdr cns-cons-or-list))))
(list cns-cons-or-list)
cns-cons-or-list)))
;; handle errors