mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 01:34:21 +00:00
Fix detecting dotted pairs in icalendar-export-region
* lisp/calendar/icalendar.el (icalendar-export-region): Fix detecting dotted pairs (bug#56241). Copyright-paperwork-exempt: yes
This commit is contained in:
parent
bc3b20b441
commit
c21487b2be
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue