diff options
author | Glenn Morris <rgm@gnu.org> | 2011-05-12 00:56:02 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-05-12 00:56:02 -0700 |
commit | 98dc3df322a2706803625ddfce0038ce94eec5d8 (patch) | |
tree | 42a76a822018084c9a53b069ad288669a26a54d2 /lisp/emacs-lisp/lisp-mnt.el | |
parent | e2c94218141ca8bb06c57654d341b33412d3caa9 (diff) | |
download | emacs-98dc3df322a2706803625ddfce0038ce94eec5d8.tar.gz emacs-98dc3df322a2706803625ddfce0038ce94eec5d8.tar.bz2 emacs-98dc3df322a2706803625ddfce0038ce94eec5d8.zip |
appt.el code simplifications.
* lisp/calendar/appt.el (appt-now-displayed): Remove pointless variable.
(appt-check): Simplify.
Details:
appt-now-displayed was set non-nil the first time a reminder was displayed.
Nothing ever set it back to nil again. Thus when full-check was nil,
mode-line-only was always true, so the "(when (or full-check mode-line-only)"
was pointless. That was the only use of full-check. mode-line-only
was only used in a negative sense, and can be reduced to the zerop test.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mnt.el')
0 files changed, 0 insertions, 0 deletions