* lisp/calendar/appt.el (appt-mode-line): Eliminate one local variable.
This commit is contained in:
parent
80675c21af
commit
5b4d6e0e88
1 changed files with 3 additions and 3 deletions
|
@ -257,9 +257,9 @@ MIN-TO-APP is a list of minutes, as strings.
|
|||
If ABBREV is non-nil, abbreviates some text."
|
||||
;; All this silliness is just to make the formatting slightly nicer.
|
||||
(let* ((multiple (> (length min-to-app) 1))
|
||||
(sametime (or (not multiple)
|
||||
(not (delete (car min-to-app) min-to-app))))
|
||||
(imin (if sametime (car min-to-app))))
|
||||
(imin (if (or (not multiple)
|
||||
(not (delete (car min-to-app) min-to-app)))
|
||||
(car min-to-app))))
|
||||
(format "%s%s %s"
|
||||
(if abbrev "App't" "Appointment")
|
||||
(if multiple "s" "")
|
||||
|
|
Loading…
Add table
Reference in a new issue