summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-05-12 00:56:02 -0700
committerGlenn Morris <rgm@gnu.org>2011-05-12 00:56:02 -0700
commit98dc3df322a2706803625ddfce0038ce94eec5d8 (patch)
tree42a76a822018084c9a53b069ad288669a26a54d2 /lisp/emacs-lisp/bytecomp.el
parente2c94218141ca8bb06c57654d341b33412d3caa9 (diff)
downloademacs-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/bytecomp.el')
0 files changed, 0 insertions, 0 deletions