Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a5464014
Commit
a5464014
authored
May 12, 2011
by
Glenn Morris
Browse files
* calendar/appt.el (appt-check): Change mode-line message at time of the appt.
parent
4accbca6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
lisp/ChangeLog
lisp/ChangeLog
+1
-0
lisp/calendar/appt.el
lisp/calendar/appt.el
+3
-1
No files found.
lisp/ChangeLog
View file @
a5464014
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
* calendar/appt.el (appt-make-list): Simplify.
* calendar/appt.el (appt-make-list): Simplify.
(appt-time-msg-list): Doc fix.
(appt-time-msg-list): Doc fix.
(appt-check): Change mode-line message at the time of the appointment.
2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
...
...
lisp/calendar/appt.el
View file @
a5464014
...
@@ -342,7 +342,9 @@ displayed in a window:
...
@@ -342,7 +342,9 @@ displayed in a window:
(
when
appt-display-mode-line
(
when
appt-display-mode-line
(
setq
appt-mode-string
(
setq
appt-mode-string
(
concat
" "
(
propertize
(
concat
" "
(
propertize
(
format
"App't in %s min."
min-to-app
)
(
format
"App't %s"
(
if
(
zerop
min-to-app
)
"NOW"
(
format
"in %s min."
min-to-app
)))
'face
'mode-line-emphasis
))))
'face
'mode-line-emphasis
))))
;; When an appointment is reached, delete it from the
;; When an appointment is reached, delete it from the
;; list. Reset the count to 0 in case we display another
;; list. Reset the count to 0 in case we display another
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment