From af3ccb5cc061bccab1c9b024ea444d01c0767767 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 23 Sep 2010 00:05:22 -0700 Subject: [PATCH] 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. --- lisp/ChangeLog | 9 +++++++++ lisp/isearch.el | 24 ++++++++++++++---------- lisp/net/net-utils.el | 6 +++--- 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 @@ +2010-09-23 Glenn Morris + + * 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. + 2010-09-21 Stefan Monnier * 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')." :group 'isearch :group 'matching) +(define-obsolete-variable-alias 'isearch-lazy-highlight-cleanup + 'lazy-highlight-cleanup + "22.1") + (defcustom lazy-highlight-cleanup t "Controls whether to remove extra highlighting after a search. If this is nil, extra highlighting can be \"manually\" removed with \\[lazy-highlight-cleanup]." :type 'boolean :group 'lazy-highlight) -(define-obsolete-variable-alias 'isearch-lazy-highlight-cleanup - 'lazy-highlight-cleanup + +(define-obsolete-variable-alias 'isearch-lazy-highlight-initial-delay + 'lazy-highlight-initial-delay "22.1") (defcustom lazy-highlight-initial-delay 0.25 "Seconds to wait before beginning to lazily highlight all matches." :type 'number :group 'lazy-highlight) -(define-obsolete-variable-alias 'isearch-lazy-highlight-initial-delay - 'lazy-highlight-initial-delay + +(define-obsolete-variable-alias 'isearch-lazy-highlight-interval + 'lazy-highlight-interval "22.1") (defcustom lazy-highlight-interval 0 ; 0.0625 "Seconds between lazily highlighting successive matches." :type 'number :group 'lazy-highlight) -(define-obsolete-variable-alias 'isearch-lazy-highlight-interval - 'lazy-highlight-interval + +(define-obsolete-variable-alias 'isearch-lazy-highlight-max-at-a-time + 'lazy-highlight-max-at-a-time "22.1") (defcustom lazy-highlight-max-at-a-time 20 @@ -305,9 +312,6 @@ A value of nil means highlight all matches." :type '(choice (const :tag "All" nil) (integer :tag "Some")) :group 'lazy-highlight) -(define-obsolete-variable-alias 'isearch-lazy-highlight-max-at-a-time - 'lazy-highlight-max-at-a-time - "22.1") (defface lazy-highlight '((((class color) (min-colors 88) (background light)) @@ -323,10 +327,10 @@ A value of nil means highlight all matches." :group 'lazy-highlight :group 'basic-faces) (define-obsolete-face-alias 'isearch-lazy-highlight-face 'lazy-highlight "22.1") -(defvar lazy-highlight-face 'lazy-highlight) (define-obsolete-variable-alias 'isearch-lazy-highlight-face 'lazy-highlight-face "22.1") +(defvar lazy-highlight-face 'lazy-highlight) ;; Define isearch help map. 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." :group 'net-utils :type 'string) +(define-obsolete-variable-alias 'ipconfig-program-options + 'ifconfig-program-options "22.2") + (defcustom ifconfig-program-options (list (if (eq system-type 'windows-nt) @@ -113,9 +116,6 @@ These options can be used to limit how many ICMP packets are emitted." :type 'string :version "23.1") -(define-obsolete-variable-alias 'ipconfig-program-options - 'ifconfig-program-options "22.2") - (defcustom iwconfig-program-options nil "Options for the iwconfig program." :group 'net-utils -- 2.39.2