summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-10-06 13:05:39 -0700
committerGlenn Morris <rgm@gnu.org>2012-10-06 13:05:39 -0700
commitef35abb4ad34ef7038ee99742c8646fc6f9914ed (patch)
treee6b5e9af9007edc4e1fa219c00a3ff88e640cfbf
parentd1aae61450d42c7ce84ae7df9e35628f0f221a19 (diff)
downloademacs-ef35abb4ad34ef7038ee99742c8646fc6f9914ed.tar.gz
* timeclock.el (timeclock-modeline-display): Add missing obsolete alias
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/calendar/timeclock.el3
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 07f68f155c3..65754ab089e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2012-10-06 Glenn Morris <rgm@gnu.org>
+ * calendar/timeclock.el (timeclock-modeline-display):
+ Add missing obsolete alias for renamed user option.
+
* strokes.el (strokes-modeline-string):
* emulation/crisp.el (crisp-mode-modeline-string):
* eshell/esh-mode.el (eshell-status-in-modeline):
diff --git a/lisp/calendar/timeclock.el b/lisp/calendar/timeclock.el
index 3151ce145de..7e7a737549f 100644
--- a/lisp/calendar/timeclock.el
+++ b/lisp/calendar/timeclock.el
@@ -321,6 +321,9 @@ display (non-nil means on)."
(force-mode-line-update)
(setq timeclock-mode-line-display on-p)))
+(define-obsolete-variable-alias 'timeclock-modeline-display
+ 'timeclock-mode-line-display "24.3")
+
;; This has to be here so that the function definition of
;; `timeclock-mode-line-display' is known to the "set" function.
(defcustom timeclock-mode-line-display nil