not a character, ignore it instead of raising an error.
+2014-07-25 Stephen Berman <stephen.berman@gmx.net>
+
+ * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
+ not a character, ignore it instead of raising an error.
+
2014-07-25 Stephen Berman <stephen.berman@gmx.net>
* calendar/todo-mode.el: Fix handling of marked items and make
'(add/edit delete))
" comment"))))
params " "))
- (this-key (char-to-string
- (read-key (concat todo-edit-item--prompt p->k))))
+ (this-key (let ((key (read-key (concat todo-edit-item--prompt p->k))))
+ (and (characterp key) (char-to-string key))))
(this-param (car (rassoc this-key params))))
(pcase this-param
(`edit (todo-edit-item--text))