mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
appt.el trivia.
* lisp/calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid overly zealous deletion of trailing whitespace.
This commit is contained in:
parent
55dc42fcf3
commit
5158face2e
2 changed files with 6 additions and 3 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2011-12-04 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
|
||||
overly zealous deletion of trailing whitespace.
|
||||
|
||||
2011-12-04 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* server.el (server-delete-client): On Windows, do not try to delete
|
||||
|
|
|
|||
|
|
@ -508,9 +508,7 @@ The time should be in either 24 hour format or am/pm format.
|
|||
Optional argument WARNTIME is an integer (or string) giving the number
|
||||
of minutes before the appointment at which to start warning.
|
||||
The default is `appt-message-warning-time'."
|
||||
;; People who like to delete trailing whitespace: READ THIS.
|
||||
;; This whitespace is supposed to be here.
|
||||
(interactive "sTime (hh:mm[am/pm]): \nsMessage:
|
||||
(interactive "sTime (hh:mm[am/pm]): \nsMessage: \n\
|
||||
sMinutes before the appointment to start warning: ")
|
||||
(unless (string-match appt-time-regexp time)
|
||||
(error "Unacceptable time-string"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue