X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/4d36e5246e3d182b84f5d776e730a81e03fff06a..3e0e2339cd379eeba8d9bc758f2e8e574144e252:/lisp/calendar/appt.el diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el index f143b2dfcb..426bb286eb 100644 --- a/lisp/calendar/appt.el +++ b/lisp/calendar/appt.el @@ -239,7 +239,7 @@ also calls `beep' for an audible reminder." (wrong-type-argument (if (not (listp mins)) (signal (car err) (cdr err)) - (message "Argtype error in `appt-disp-window-function' - \ + (message "Argtype error in ‘appt-disp-window-function’ - \ update it for multiple appts?") ;; Fallback to just displaying the first appt, as we used to. (funcall appt-disp-window-function @@ -511,13 +511,13 @@ The default is `appt-message-warning-time'." (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")) + (user-error "Unacceptable time-string")) (and (stringp warntime) (setq warntime (unless (string-equal warntime "") (string-to-number warntime)))) (and warntime (not (integerp warntime)) - (error "Argument WARNTIME must be an integer, or nil")) + (user-error "Argument WARNTIME must be an integer, or nil")) (or appt-timer (appt-activate)) (let ((time-msg (list (list (appt-convert-time time)) (concat time " " msg) t)))