aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2008-04-12 03:17:19 +0000
committerGlenn Morris2008-04-12 03:17:19 +0000
commitcd6ef82d85dcd34f98b2ae6cec97b495f9a4e8ca (patch)
treed7cef036c6b82dcaed2f123dbf0e6c64daa7d1bf /lisp
parentf8754ca2dea51bbcddb30dedc4c4d1e6383fa0c1 (diff)
downloademacs-cd6ef82d85dcd34f98b2ae6cec97b495f9a4e8ca.tar.gz
emacs-cd6ef82d85dcd34f98b2ae6cec97b495f9a4e8ca.zip
Move non-autoloaded define-obsolete-variable-alias calls for
defcustoms not in dumped files before the associated defcustom.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog19
-rw-r--r--lisp/desktop.el5
-rw-r--r--lisp/files.el2
-rw-r--r--lisp/hilit-chg.el18
-rw-r--r--lisp/ibuffer.el8
-rw-r--r--lisp/iswitchb.el3
-rw-r--r--lisp/net/net-utils.el10
-rw-r--r--lisp/pcvs-info.el6
-rw-r--r--lisp/progmodes/gud.el11
-rw-r--r--lisp/recentf.el8
-rw-r--r--lisp/speedbar.el6
11 files changed, 58 insertions, 38 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9dd9bbd6df0..fc04082c002 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,22 @@
12008-04-12 Glenn Morris <rgm@gnu.org>
2
3 * calendar/cal-china.el (chinese-calendar-time-zone):
4 Mark obsolete name as risky too.
5
6 * calendar/calendar.el (calendar-faces): New custom group.
7 (calendar-today, diary, holiday): Doc fix. Move to calendar-faces
8 group.
9 * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time)
10 (diary-button): Doc fix. Move to calendar-faces group.
11
12 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
13 * desktop.el, files.el, hilit-chg.el, ibuffer.el, iswitchb.el:
14 * pcvs-info.el, recentf.el, speedbar.el, calendar/cal-china.el:
15 * calendar/cal-hebrew.el, calendar/cal-x.el, calendar/calendar.el
16 * calendar/diary-lib.el, net/net-utils.el, progmodes/gud.el:
17 Move non-autoloaded define-obsolete-variable-alias calls for defcustoms
18 not in dumped files before the associated defcustom.
19
12008-04-11 Johan Bockgård <bojohan@gnu.org> 202008-04-11 Johan Bockgård <bojohan@gnu.org>
2 21
3 * minibuffer.el (lazy-completion-table): Fix debug spec. 22 * minibuffer.el (lazy-completion-table): Fix debug spec.
diff --git a/lisp/desktop.el b/lisp/desktop.el
index d1f6d214e20..b126925c467 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -206,13 +206,14 @@ the normal hook `desktop-not-loaded-hook' is run."
206 :group 'desktop 206 :group 'desktop
207 :version "22.2") 207 :version "22.2")
208 208
209(define-obsolete-variable-alias 'desktop-basefilename
210 'desktop-base-file-name "22.1")
211
209(defcustom desktop-base-file-name 212(defcustom desktop-base-file-name
210 (convert-standard-filename ".emacs.desktop") 213 (convert-standard-filename ".emacs.desktop")
211 "Name of file for Emacs desktop, excluding the directory part." 214 "Name of file for Emacs desktop, excluding the directory part."
212 :type 'file 215 :type 'file
213 :group 'desktop) 216 :group 'desktop)
214(define-obsolete-variable-alias 'desktop-basefilename
215 'desktop-base-file-name "22.1")
216 217
217(defcustom desktop-base-lock-name 218(defcustom desktop-base-lock-name
218 (convert-standard-filename ".emacs.desktop.lock") 219 (convert-standard-filename ".emacs.desktop.lock")
diff --git a/lisp/files.el b/lisp/files.el
index a9beff39862..07b8a0688ff 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -404,6 +404,7 @@ The functions are called in the order given until one of them returns non-nil.")
404 404
405;;;It is not useful to make this a local variable. 405;;;It is not useful to make this a local variable.
406;;;(put 'find-file-hooks 'permanent-local t) 406;;;(put 'find-file-hooks 'permanent-local t)
407(define-obsolete-variable-alias 'find-file-hooks 'find-file-hook "22.1")
407(defcustom find-file-hook nil 408(defcustom find-file-hook nil
408 "List of functions to be called after a buffer is loaded from a file. 409 "List of functions to be called after a buffer is loaded from a file.
409The buffer's local variables (if any) will have been processed before the 410The buffer's local variables (if any) will have been processed before the
@@ -412,7 +413,6 @@ functions are called."
412 :type 'hook 413 :type 'hook
413 :options '(auto-insert) 414 :options '(auto-insert)
414 :version "22.1") 415 :version "22.1")
415(define-obsolete-variable-alias 'find-file-hooks 'find-file-hook "22.1")
416 416
417(defvar write-file-functions nil 417(defvar write-file-functions nil
418 "List of functions to be called before writing out a buffer to a file. 418 "List of functions to be called before writing out a buffer to a file.
diff --git a/lisp/hilit-chg.el b/lisp/hilit-chg.el
index 99376e492f9..63009747d9d 100644
--- a/lisp/hilit-chg.el
+++ b/lisp/hilit-chg.el
@@ -219,6 +219,9 @@
219 219
220;; A (not very good) default list of colors to rotate through. 220;; A (not very good) default list of colors to rotate through.
221;; 221;;
222(define-obsolete-variable-alias 'highlight-changes-colours
223 'highlight-changes-colors "22.1")
224
222(defcustom highlight-changes-colors 225(defcustom highlight-changes-colors
223 (if (eq (frame-parameter nil 'background-mode) 'light) 226 (if (eq (frame-parameter nil 'background-mode) 'light)
224 ;; defaults for light background: 227 ;; defaults for light background:
@@ -236,10 +239,6 @@ colors then use this, if you want fancier faces then set
236 :type '(repeat color) 239 :type '(repeat color)
237 :group 'highlight-changes) 240 :group 'highlight-changes)
238 241
239(define-obsolete-variable-alias 'highlight-changes-colours
240 'highlight-changes-colors "22.1")
241
242
243;; When you invoke highlight-changes-mode, should highlight-changes-visible-mode 242;; When you invoke highlight-changes-mode, should highlight-changes-visible-mode
244;; be on or off? 243;; be on or off?
245 244
@@ -260,6 +259,8 @@ When a buffer is in Highlight Changes mode the function
260 259
261 260
262;; These are the strings displayed in the mode-line for the minor mode: 261;; These are the strings displayed in the mode-line for the minor mode:
262(define-obsolete-variable-alias 'highlight-changes-active-string
263 'highlight-changes-visible-string "23.1")
263 264
264(defcustom highlight-changes-visible-string " +Chg" 265(defcustom highlight-changes-visible-string " +Chg"
265 "The string used when in Highlight Changes mode and changes are visible. 266 "The string used when in Highlight Changes mode and changes are visible.
@@ -269,8 +270,8 @@ a string with a leading space."
269 (const :tag "None" nil)) 270 (const :tag "None" nil))
270 :group 'highlight-changes) 271 :group 'highlight-changes)
271 272
272(define-obsolete-variable-alias 'highlight-changes-active-string 273(define-obsolete-variable-alias 'highlight-changes-passive-string
273 'highlight-changes-visible-string "23.1") 274 'highlight-changes-invisible-string "23.1")
274 275
275(defcustom highlight-changes-invisible-string " -Chg" 276(defcustom highlight-changes-invisible-string " -Chg"
276 "The string used when in Highlight Changes mode and changes are hidden. 277 "The string used when in Highlight Changes mode and changes are hidden.
@@ -280,11 +281,6 @@ a string with a leading space."
280 (const :tag "None" nil)) 281 (const :tag "None" nil))
281 :group 'highlight-changes) 282 :group 'highlight-changes)
282 283
283(define-obsolete-variable-alias 'highlight-changes-passive-string
284 'highlight-changes-invisible-string "23.1")
285
286
287
288(defcustom highlight-changes-global-modes t 284(defcustom highlight-changes-global-modes t
289 "Determine whether a buffer is suitable for global Highlight Changes mode. 285 "Determine whether a buffer is suitable for global Highlight Changes mode.
290 286
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el
index 22c4f465e1d..4aafea04855 100644
--- a/lisp/ibuffer.el
+++ b/lisp/ibuffer.el
@@ -339,19 +339,19 @@ directory, like `default-directory'."
339 :type 'regexp 339 :type 'regexp
340 :group 'ibuffer) 340 :group 'ibuffer)
341 341
342(define-obsolete-variable-alias 'ibuffer-hooks 'ibuffer-hook "22.1")
343
342(defcustom ibuffer-hook nil 344(defcustom ibuffer-hook nil
343 "Hook run when `ibuffer' is called." 345 "Hook run when `ibuffer' is called."
344 :type 'hook 346 :type 'hook
345 :group 'ibuffer) 347 :group 'ibuffer)
346(define-obsolete-variable-alias 'ibuffer-hooks 348
347 'ibuffer-hook "22.1") 349(define-obsolete-variable-alias 'ibuffer-mode-hooks 'ibuffer-mode-hook "22.1")
348 350
349(defcustom ibuffer-mode-hook nil 351(defcustom ibuffer-mode-hook nil
350 "Hook run upon entry into `ibuffer-mode'." 352 "Hook run upon entry into `ibuffer-mode'."
351 :type 'hook 353 :type 'hook
352 :group 'ibuffer) 354 :group 'ibuffer)
353(define-obsolete-variable-alias 'ibuffer-mode-hooks
354 'ibuffer-mode-hook "22.1")
355 355
356(defcustom ibuffer-load-hook nil 356(defcustom ibuffer-load-hook nil
357 "Hook run when Ibuffer is loaded." 357 "Hook run when Ibuffer is loaded."
diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el
index 4e89659dc8d..b5242e1c2ad 100644
--- a/lisp/iswitchb.el
+++ b/lisp/iswitchb.el
@@ -353,11 +353,12 @@ See also `iswitchb-newbuffer'."
353 :type 'boolean 353 :type 'boolean
354 :group 'iswitchb) 354 :group 'iswitchb)
355 355
356(define-obsolete-variable-alias 'iswitchb-use-fonts 'iswitchb-use-faces "22.1")
357
356(defcustom iswitchb-use-faces t 358(defcustom iswitchb-use-faces t
357 "*Non-nil means use font-lock faces for showing first match." 359 "*Non-nil means use font-lock faces for showing first match."
358 :type 'boolean 360 :type 'boolean
359 :group 'iswitchb) 361 :group 'iswitchb)
360(define-obsolete-variable-alias 'iswitchb-use-fonts 'iswitchb-use-faces "22.1")
361 362
362(defcustom iswitchb-use-frame-buffer-list nil 363(defcustom iswitchb-use-frame-buffer-list nil
363 "*Non-nil means use the currently selected frame's buffer list." 364 "*Non-nil means use the currently selected frame's buffer list."
diff --git a/lisp/net/net-utils.el b/lisp/net/net-utils.el
index f64d79cfd12..3c882a5f518 100644
--- a/lisp/net/net-utils.el
+++ b/lisp/net/net-utils.el
@@ -91,6 +91,8 @@ These options can be used to limit how many ICMP packets are emitted."
91 :group 'net-utils 91 :group 'net-utils
92 :type '(repeat string)) 92 :type '(repeat string))
93 93
94(define-obsolete-variable-alias 'ipconfig-program 'ifconfig-program "22.2")
95
94(defcustom ifconfig-program 96(defcustom ifconfig-program
95 (if (eq system-type 'windows-nt) 97 (if (eq system-type 'windows-nt)
96 "ipconfig" 98 "ipconfig"
@@ -99,8 +101,6 @@ These options can be used to limit how many ICMP packets are emitted."
99 :group 'net-utils 101 :group 'net-utils
100 :type 'string) 102 :type 'string)
101 103
102(define-obsolete-variable-alias 'ipconfig-program 'ifconfig-program "22.2")
103
104(defcustom ifconfig-program-options 104(defcustom ifconfig-program-options
105 (list 105 (list
106 (if (eq system-type 'windows-nt) 106 (if (eq system-type 'windows-nt)
@@ -115,15 +115,15 @@ These options can be used to limit how many ICMP packets are emitted."
115 :type 'string 115 :type 'string
116 :version "23.1") 116 :version "23.1")
117 117
118(define-obsolete-variable-alias 'ipconfig-program-options
119 'ifconfig-program-options "22.2")
120
118(defcustom iwconfig-program-options nil 121(defcustom iwconfig-program-options nil
119 "Options for the iwconfig program." 122 "Options for the iwconfig program."
120 :group 'net-utils 123 :group 'net-utils
121 :type '(repeat string) 124 :type '(repeat string)
122 :version "23.1") 125 :version "23.1")
123 126
124(define-obsolete-variable-alias 'ipconfig-program-options
125 'ifconfig-program-options "22.2")
126
127(defcustom netstat-program "netstat" 127(defcustom netstat-program "netstat"
128 "Program to print network statistics." 128 "Program to print network statistics."
129 :group 'net-utils 129 :group 'net-utils
diff --git a/lisp/pcvs-info.el b/lisp/pcvs-info.el
index 65c2c242a9f..33f7c66dcc0 100644
--- a/lisp/pcvs-info.el
+++ b/lisp/pcvs-info.el
@@ -1,7 +1,8 @@
1;;; pcvs-info.el --- internal representation of a fileinfo entry 1;;; pcvs-info.el --- internal representation of a fileinfo entry
2 2
3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5;; Free Software Foundation, Inc.
5 6
6;; Author: Stefan Monnier <monnier@iro.umontreal.ca> 7;; Author: Stefan Monnier <monnier@iro.umontreal.ca>
7;; Keywords: pcl-cvs 8;; Keywords: pcl-cvs
@@ -41,13 +42,14 @@
41;;;; config variables 42;;;; config variables
42;;;; 43;;;;
43 44
45(define-obsolete-variable-alias 'cvs-display-full-path 'cvs-display-full-name)
46
44(defcustom cvs-display-full-name t 47(defcustom cvs-display-full-name t
45 "*Specifies how the filenames should be displayed in the listing. 48 "*Specifies how the filenames should be displayed in the listing.
46If non-nil, their full filename name will be displayed, else only the 49If non-nil, their full filename name will be displayed, else only the
47non-directory part." 50non-directory part."
48 :group 'pcl-cvs 51 :group 'pcl-cvs
49 :type '(boolean)) 52 :type '(boolean))
50(define-obsolete-variable-alias 'cvs-display-full-path 'cvs-display-full-name)
51 53
52(defcustom cvs-allow-dir-commit nil 54(defcustom cvs-allow-dir-commit nil
53 "*Allow `cvs-mode-commit' on directories. 55 "*Allow `cvs-mode-commit' on directories.
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index c057cccffa7..3b825c99d62 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -3273,6 +3273,9 @@ Treats actions as defuns."
3273 (kill-local-variable 'gdb-define-alist) 3273 (kill-local-variable 'gdb-define-alist)
3274 (remove-hook 'after-save-hook 'gdb-create-define-alist t)))) 3274 (remove-hook 'after-save-hook 'gdb-create-define-alist t))))
3275 3275
3276(define-obsolete-variable-alias 'tooltip-gud-modes
3277 'gud-tooltip-modes "22.1")
3278
3276(defcustom gud-tooltip-modes '(gud-mode c-mode c++-mode fortran-mode 3279(defcustom gud-tooltip-modes '(gud-mode c-mode c++-mode fortran-mode
3277 python-mode) 3280 python-mode)
3278 "List of modes for which to enable GUD tooltips." 3281 "List of modes for which to enable GUD tooltips."
@@ -3280,6 +3283,9 @@ Treats actions as defuns."
3280 :group 'gud 3283 :group 'gud
3281 :group 'tooltip) 3284 :group 'tooltip)
3282 3285
3286(define-obsolete-variable-alias 'tooltip-gud-display
3287 'gud-tooltip-display "22.1")
3288
3283(defcustom gud-tooltip-display 3289(defcustom gud-tooltip-display
3284 '((eq (tooltip-event-buffer gud-tooltip-event) 3290 '((eq (tooltip-event-buffer gud-tooltip-event)
3285 (marker-buffer gud-overlay-arrow-position))) 3291 (marker-buffer gud-overlay-arrow-position)))
@@ -3297,11 +3303,6 @@ only tooltips in the buffer containing the overlay arrow."
3297 :group 'gud 3303 :group 'gud
3298 :group 'tooltip) 3304 :group 'tooltip)
3299 3305
3300(define-obsolete-variable-alias 'tooltip-gud-modes
3301 'gud-tooltip-modes "22.1")
3302(define-obsolete-variable-alias 'tooltip-gud-display
3303 'gud-tooltip-display "22.1")
3304
3305;;; Reacting on mouse movements 3306;;; Reacting on mouse movements
3306 3307
3307(defun gud-tooltip-change-major-mode () 3308(defun gud-tooltip-change-major-mode ()
diff --git a/lisp/recentf.el b/lisp/recentf.el
index d1723969b3c..8324d3ade67 100644
--- a/lisp/recentf.el
+++ b/lisp/recentf.el
@@ -227,15 +227,15 @@ This item will replace the \"More...\" item."
227 :group 'recentf 227 :group 'recentf
228 :type 'boolean) 228 :type 'boolean)
229 229
230(define-obsolete-variable-alias 'recentf-menu-append-commands-p
231 'recentf-menu-append-commands-flag
232 "22.1")
233
230(defcustom recentf-menu-append-commands-flag t 234(defcustom recentf-menu-append-commands-flag t
231 "Non-nil means to append command items to the menu." 235 "Non-nil means to append command items to the menu."
232 :group 'recentf 236 :group 'recentf
233 :type 'boolean) 237 :type 'boolean)
234 238
235(define-obsolete-variable-alias 'recentf-menu-append-commands-p
236 'recentf-menu-append-commands-flag
237 "22.1")
238
239(defcustom recentf-auto-cleanup 'mode 239(defcustom recentf-auto-cleanup 'mode
240 "Define when to automatically cleanup the recent list. 240 "Define when to automatically cleanup the recent list.
241The following values can be set: 241The following values can be set:
diff --git a/lisp/speedbar.el b/lisp/speedbar.el
index cd24ae4749c..a851936ca2d 100644
--- a/lisp/speedbar.el
+++ b/lisp/speedbar.el
@@ -642,6 +642,9 @@ Created from `speedbar-ignored-directory-expressions' with the function
642Use the function `speedbar-add-ignored-directory-regexp', or customize the 642Use the function `speedbar-add-ignored-directory-regexp', or customize the
643variable `speedbar-ignored-directory-expressions' to modify this variable.") 643variable `speedbar-ignored-directory-expressions' to modify this variable.")
644 644
645(define-obsolete-variable-alias 'speedbar-ignored-path-expressions
646 'speedbar-ignored-directory-expressions)
647
645(defcustom speedbar-ignored-directory-expressions 648(defcustom speedbar-ignored-directory-expressions
646 '("[/\\]logs?[/\\]\\'") 649 '("[/\\]logs?[/\\]\\'")
647 "*List of regular expressions matching directories speedbar will ignore. 650 "*List of regular expressions matching directories speedbar will ignore.
@@ -4133,9 +4136,6 @@ TEXT is the buffer's name, TOKEN and INDENT are unused."
4133(define-obsolete-variable-alias 4136(define-obsolete-variable-alias
4134 'speedbar-ignored-path-regexp 'speedbar-ignored-directory-regexp) 4137 'speedbar-ignored-path-regexp 'speedbar-ignored-directory-regexp)
4135 4138
4136(define-obsolete-variable-alias 'speedbar-ignored-path-expressions
4137 'speedbar-ignored-directory-expressions)
4138
4139(define-obsolete-function-alias 'speedbar-add-ignored-path-regexp 4139(define-obsolete-function-alias 'speedbar-add-ignored-path-regexp
4140 'speedbar-add-ignored-directory-regexp) 4140 'speedbar-add-ignored-directory-regexp)
4141 4141