aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-09-23 00:05:22 -0700
committerGlenn Morris2010-09-23 00:05:22 -0700
commitaf3ccb5cc061bccab1c9b024ea444d01c0767767 (patch)
tree3e6596070add612b28d9405f0059d6da60ca5ac5
parentb9749554532876da8bc15e10bc3fb8bd8c0f32ea (diff)
downloademacs-af3ccb5cc061bccab1c9b024ea444d01c0767767.tar.gz
emacs-af3ccb5cc061bccab1c9b024ea444d01c0767767.zip
Move some aliases to options before the associated definitions.
* isearch.el (isearch-lazy-highlight-cleanup) (isearch-lazy-highlight-initial-delay) (isearch-lazy-highlight-interval) (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face): * net/net-utils.el (ipconfig-program-options): Move aliases to options before the associated definitions.
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/isearch.el24
-rw-r--r--lisp/net/net-utils.el6
3 files changed, 26 insertions, 13 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e69a658cfa6..18643c3f824 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,12 @@
12010-09-23 Glenn Morris <rgm@gnu.org>
2
3 * isearch.el (isearch-lazy-highlight-cleanup)
4 (isearch-lazy-highlight-initial-delay)
5 (isearch-lazy-highlight-interval)
6 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
7 * net/net-utils.el (ipconfig-program-options):
8 Move aliases to options before the associated definitions.
9
12010-09-21 Stefan Monnier <monnier@iro.umontreal.ca> 102010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2 11
3 * newcomment.el (comment-normalize-vars): Better test validity of 12 * newcomment.el (comment-normalize-vars): Better test validity of
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 7071497cbfb..3b04fa270b0 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -271,30 +271,37 @@ and `lazy-highlight-interval')."
271 :group 'isearch 271 :group 'isearch
272 :group 'matching) 272 :group 'matching)
273 273
274(define-obsolete-variable-alias 'isearch-lazy-highlight-cleanup
275 'lazy-highlight-cleanup
276 "22.1")
277
274(defcustom lazy-highlight-cleanup t 278(defcustom lazy-highlight-cleanup t
275 "Controls whether to remove extra highlighting after a search. 279 "Controls whether to remove extra highlighting after a search.
276If this is nil, extra highlighting can be \"manually\" removed with 280If this is nil, extra highlighting can be \"manually\" removed with
277\\[lazy-highlight-cleanup]." 281\\[lazy-highlight-cleanup]."
278 :type 'boolean 282 :type 'boolean
279 :group 'lazy-highlight) 283 :group 'lazy-highlight)
280(define-obsolete-variable-alias 'isearch-lazy-highlight-cleanup 284
281 'lazy-highlight-cleanup 285(define-obsolete-variable-alias 'isearch-lazy-highlight-initial-delay
286 'lazy-highlight-initial-delay
282 "22.1") 287 "22.1")
283 288
284(defcustom lazy-highlight-initial-delay 0.25 289(defcustom lazy-highlight-initial-delay 0.25
285 "Seconds to wait before beginning to lazily highlight all matches." 290 "Seconds to wait before beginning to lazily highlight all matches."
286 :type 'number 291 :type 'number
287 :group 'lazy-highlight) 292 :group 'lazy-highlight)
288(define-obsolete-variable-alias 'isearch-lazy-highlight-initial-delay 293
289 'lazy-highlight-initial-delay 294(define-obsolete-variable-alias 'isearch-lazy-highlight-interval
295 'lazy-highlight-interval
290 "22.1") 296 "22.1")
291 297
292(defcustom lazy-highlight-interval 0 ; 0.0625 298(defcustom lazy-highlight-interval 0 ; 0.0625
293 "Seconds between lazily highlighting successive matches." 299 "Seconds between lazily highlighting successive matches."
294 :type 'number 300 :type 'number
295 :group 'lazy-highlight) 301 :group 'lazy-highlight)
296(define-obsolete-variable-alias 'isearch-lazy-highlight-interval 302
297 'lazy-highlight-interval 303(define-obsolete-variable-alias 'isearch-lazy-highlight-max-at-a-time
304 'lazy-highlight-max-at-a-time
298 "22.1") 305 "22.1")
299 306
300(defcustom lazy-highlight-max-at-a-time 20 307(defcustom lazy-highlight-max-at-a-time 20
@@ -305,9 +312,6 @@ A value of nil means highlight all matches."
305 :type '(choice (const :tag "All" nil) 312 :type '(choice (const :tag "All" nil)
306 (integer :tag "Some")) 313 (integer :tag "Some"))
307 :group 'lazy-highlight) 314 :group 'lazy-highlight)
308(define-obsolete-variable-alias 'isearch-lazy-highlight-max-at-a-time
309 'lazy-highlight-max-at-a-time
310 "22.1")
311 315
312(defface lazy-highlight 316(defface lazy-highlight
313 '((((class color) (min-colors 88) (background light)) 317 '((((class color) (min-colors 88) (background light))
@@ -323,10 +327,10 @@ A value of nil means highlight all matches."
323 :group 'lazy-highlight 327 :group 'lazy-highlight
324 :group 'basic-faces) 328 :group 'basic-faces)
325(define-obsolete-face-alias 'isearch-lazy-highlight-face 'lazy-highlight "22.1") 329(define-obsolete-face-alias 'isearch-lazy-highlight-face 'lazy-highlight "22.1")
326(defvar lazy-highlight-face 'lazy-highlight)
327(define-obsolete-variable-alias 'isearch-lazy-highlight-face 330(define-obsolete-variable-alias 'isearch-lazy-highlight-face
328 'lazy-highlight-face 331 'lazy-highlight-face
329 "22.1") 332 "22.1")
333(defvar lazy-highlight-face 'lazy-highlight)
330 334
331;; Define isearch help map. 335;; Define isearch help map.
332 336
diff --git a/lisp/net/net-utils.el b/lisp/net/net-utils.el
index 94a1af42455..b69c571ddf5 100644
--- a/lisp/net/net-utils.el
+++ b/lisp/net/net-utils.el
@@ -99,6 +99,9 @@ These options can be used to limit how many ICMP packets are emitted."
99 :group 'net-utils 99 :group 'net-utils
100 :type 'string) 100 :type 'string)
101 101
102(define-obsolete-variable-alias 'ipconfig-program-options
103 'ifconfig-program-options "22.2")
104
102(defcustom ifconfig-program-options 105(defcustom ifconfig-program-options
103 (list 106 (list
104 (if (eq system-type 'windows-nt) 107 (if (eq system-type 'windows-nt)
@@ -113,9 +116,6 @@ These options can be used to limit how many ICMP packets are emitted."
113 :type 'string 116 :type 'string
114 :version "23.1") 117 :version "23.1")
115 118
116(define-obsolete-variable-alias 'ipconfig-program-options
117 'ifconfig-program-options "22.2")
118
119(defcustom iwconfig-program-options nil 119(defcustom iwconfig-program-options nil
120 "Options for the iwconfig program." 120 "Options for the iwconfig program."
121 :group 'net-utils 121 :group 'net-utils