From d1aae61450d42c7ce84ae7df9e35628f0f221a19 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 6 Oct 2012 12:55:47 -0700 Subject: [PATCH] Aliases to defcustoms must come before the defcustom. * strokes.el (strokes-modeline-string): * emulation/crisp.el (crisp-mode-modeline-string): * eshell/esh-mode.el (eshell-status-in-modeline): Aliases to defcustoms must come before the defcustom. --- lisp/ChangeLog | 5 +++++ lisp/emulation/crisp.el | 6 +++--- lisp/eshell/esh-mode.el | 6 +++--- lisp/strokes.el | 5 +++-- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f2cda6f9f6a..07f68f155c3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,10 @@ 2012-10-06 Glenn Morris + * strokes.el (strokes-modeline-string): + * emulation/crisp.el (crisp-mode-modeline-string): + * eshell/esh-mode.el (eshell-status-in-modeline): + Aliases to defcustoms must come before the defcustom. + * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week) (cal-tex-cursor-week2, cal-tex-cursor-week-iso) (cal-tex-cursor-week-monday): Doc fixes. diff --git a/lisp/emulation/crisp.el b/lisp/emulation/crisp.el index c9822b7ec27..01d202f87b5 100644 --- a/lisp/emulation/crisp.el +++ b/lisp/emulation/crisp.el @@ -171,14 +171,14 @@ All the bindings are done here instead of globally to try and be nice to the world.") +(define-obsolete-variable-alias 'crisp-mode-modeline-string + 'crisp-mode-mode-line-string "24.3") + (defcustom crisp-mode-mode-line-string " *CRiSP*" "String to display in the mode line when CRiSP emulation mode is enabled." :type 'string :group 'crisp) -(define-obsolete-variable-alias 'crisp-mode-modeline-string - 'crisp-mode-mode-line-string "24.3") - ;;;###autoload (defcustom crisp-mode nil "Track status of CRiSP emulation mode. diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el index 8a9107e5470..673632400f2 100644 --- a/lisp/eshell/esh-mode.el +++ b/lisp/eshell/esh-mode.el @@ -193,14 +193,14 @@ This is used by `eshell-watch-for-password-prompt'." :type '(choice (const nil) function) :group 'eshell-mode) +(define-obsolete-variable-alias 'eshell-status-in-modeline + 'eshell-status-in-mode-line "24.3") + (defcustom eshell-status-in-mode-line t "If non-nil, let the user know a command is running in the mode line." :type 'boolean :group 'eshell-mode) -(define-obsolete-variable-alias 'eshell-status-in-modeline - 'eshell-status-in-mode-line "24.3") - (defvar eshell-first-time-p t "A variable which is non-nil the first time Eshell is loaded.") diff --git a/lisp/strokes.el b/lisp/strokes.el index 62a8528f25d..9a3a7608d2b 100644 --- a/lisp/strokes.el +++ b/lisp/strokes.el @@ -212,13 +212,14 @@ static char * stroke_xpm[] = { :link '(emacs-commentary-link "strokes") :group 'mouse) +(define-obsolete-variable-alias 'strokes-modeline-string 'strokes-lighter + "24.3") + (defcustom strokes-lighter " Strokes" "Mode line identifier for Strokes mode." :type 'string :group 'strokes) -(define-obsolete-variable-alias 'strokes-modeline-string 'strokes-lighter "24.3") - (defcustom strokes-character ?@ "Character used when drawing strokes in the strokes buffer. \(The default is `@', which works well.\)" -- 2.39.5