diff options
| author | Juri Linkov | 2007-03-25 09:29:32 +0000 |
|---|---|---|
| committer | Juri Linkov | 2007-03-25 09:29:32 +0000 |
| commit | 84d6b04be16f0e093dcf343e72f35344ec1ddb0f (patch) | |
| tree | c509afceb7e927a966ff2249ca059eed76ed167d | |
| parent | e7d4a9040500018652ec1e626e4eb349c406764e (diff) | |
| download | emacs-84d6b04be16f0e093dcf343e72f35344ec1ddb0f.tar.gz emacs-84d6b04be16f0e093dcf343e72f35344ec1ddb0f.zip | |
(compare-windows): Rename customization group
`compare-w' to `compare-windows'.
(compare-windows-whitespace, compare-ignore-whitespace)
(compare-ignore-case, compare-windows-sync)
(compare-windows-sync-string-size, compare-windows-recenter)
(compare-windows-highlight, compare-windows): Change group name in
the `group' tag from `compare-w' to `compare-windows'.
(compare-windows-sync): Add option `nil' for no sync. Doc fix.
| -rw-r--r-- | lisp/ChangeLog | 11 | ||||
| -rw-r--r-- | lisp/compare-w.el | 25 |
2 files changed, 24 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f99126ef1b2..6eb4a4a70dc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2007-03-25 Juri Linkov <juri@jurta.org> | ||
| 2 | |||
| 3 | * compare-w.el (compare-windows): Rename customization group | ||
| 4 | `compare-w' to `compare-windows'. | ||
| 5 | (compare-windows-whitespace, compare-ignore-whitespace) | ||
| 6 | (compare-ignore-case, compare-windows-sync) | ||
| 7 | (compare-windows-sync-string-size, compare-windows-recenter) | ||
| 8 | (compare-windows-highlight, compare-windows): Change group name in | ||
| 9 | the `group' tag from `compare-w' to `compare-windows'. | ||
| 10 | (compare-windows-sync): Add option `nil' for no sync. Doc fix. | ||
| 11 | |||
| 1 | 2007-03-24 Markus Triska <markus.triska@gmx.at> | 12 | 2007-03-24 Markus Triska <markus.triska@gmx.at> |
| 2 | 13 | ||
| 3 | * expand.el: Change example to always enable abbrev-mode, and | 14 | * expand.el: Change example to always enable abbrev-mode, and |
diff --git a/lisp/compare-w.el b/lisp/compare-w.el index e81c6cd3bc2..19ad84e11c0 100644 --- a/lisp/compare-w.el +++ b/lisp/compare-w.el | |||
| @@ -32,7 +32,7 @@ | |||
| 32 | 32 | ||
| 33 | ;;; Code: | 33 | ;;; Code: |
| 34 | 34 | ||
| 35 | (defgroup compare-w nil | 35 | (defgroup compare-windows nil |
| 36 | "Compare text between windows." | 36 | "Compare text between windows." |
| 37 | :prefix "compare-" | 37 | :prefix "compare-" |
| 38 | :group 'tools) | 38 | :group 'tools) |
| @@ -52,18 +52,18 @@ any text before that point. | |||
| 52 | If the function returns the same value for both windows, then the | 52 | If the function returns the same value for both windows, then the |
| 53 | whitespace is considered to match, and is skipped." | 53 | whitespace is considered to match, and is skipped." |
| 54 | :type '(choice regexp function) | 54 | :type '(choice regexp function) |
| 55 | :group 'compare-w) | 55 | :group 'compare-windows) |
| 56 | 56 | ||
| 57 | (defcustom compare-ignore-whitespace nil | 57 | (defcustom compare-ignore-whitespace nil |
| 58 | "*Non-nil means `compare-windows' ignores whitespace." | 58 | "*Non-nil means `compare-windows' ignores whitespace." |
| 59 | :type 'boolean | 59 | :type 'boolean |
| 60 | :group 'compare-w | 60 | :group 'compare-windows |
| 61 | :version "22.1") | 61 | :version "22.1") |
| 62 | 62 | ||
| 63 | (defcustom compare-ignore-case nil | 63 | (defcustom compare-ignore-case nil |
| 64 | "*Non-nil means `compare-windows' ignores case differences." | 64 | "*Non-nil means `compare-windows' ignores case differences." |
| 65 | :type 'boolean | 65 | :type 'boolean |
| 66 | :group 'compare-w) | 66 | :group 'compare-windows) |
| 67 | 67 | ||
| 68 | (defcustom compare-windows-sync 'compare-windows-sync-default-function | 68 | (defcustom compare-windows-sync 'compare-windows-sync-default-function |
| 69 | "*Function or regexp that is used to synchronize points in two | 69 | "*Function or regexp that is used to synchronize points in two |
| @@ -87,10 +87,11 @@ regexp containing some field separator or a newline, depending on | |||
| 87 | the nature of the difference units separator. The variable can | 87 | the nature of the difference units separator. The variable can |
| 88 | be made buffer-local. | 88 | be made buffer-local. |
| 89 | 89 | ||
| 90 | If the value of this variable is `nil', then function `ding' is | 90 | If the value of this variable is `nil' (option \"No sync\"), then |
| 91 | called to beep or flash the screen when points are mismatched." | 91 | no synchronization is performed, and the function `ding' is called |
| 92 | :type '(choice regexp function) | 92 | to beep or flash the screen when points are mismatched." |
| 93 | :group 'compare-w | 93 | :type '(choice function regexp (const :tag "No sync" nil)) |
| 94 | :group 'compare-windows | ||
| 94 | :version "22.1") | 95 | :version "22.1") |
| 95 | 96 | ||
| 96 | (defcustom compare-windows-sync-string-size 32 | 97 | (defcustom compare-windows-sync-string-size 32 |
| @@ -102,7 +103,7 @@ difference regions more coarse-grained. | |||
| 102 | 103 | ||
| 103 | The default value 32 is good for the most cases." | 104 | The default value 32 is good for the most cases." |
| 104 | :type 'integer | 105 | :type 'integer |
| 105 | :group 'compare-w | 106 | :group 'compare-windows |
| 106 | :version "22.1") | 107 | :version "22.1") |
| 107 | 108 | ||
| 108 | (defcustom compare-windows-recenter nil | 109 | (defcustom compare-windows-recenter nil |
| @@ -113,7 +114,7 @@ matching points side-by-side. | |||
| 113 | The value `(-1 0)' is useful if windows are split vertically, | 114 | The value `(-1 0)' is useful if windows are split vertically, |
| 114 | and the value `((4) (4))' for horizontally split windows." | 115 | and the value `((4) (4))' for horizontally split windows." |
| 115 | :type '(list sexp sexp) | 116 | :type '(list sexp sexp) |
| 116 | :group 'compare-w | 117 | :group 'compare-windows |
| 117 | :version "22.1") | 118 | :version "22.1") |
| 118 | 119 | ||
| 119 | (defcustom compare-windows-highlight t | 120 | (defcustom compare-windows-highlight t |
| @@ -125,13 +126,13 @@ out all highlighting later with the command `compare-windows-dehighlight'." | |||
| 125 | :type '(choice (const :tag "No highlighting" nil) | 126 | :type '(choice (const :tag "No highlighting" nil) |
| 126 | (const :tag "Persistent highlighting" persistent) | 127 | (const :tag "Persistent highlighting" persistent) |
| 127 | (other :tag "Highlight until next command" t)) | 128 | (other :tag "Highlight until next command" t)) |
| 128 | :group 'compare-w | 129 | :group 'compare-windows |
| 129 | :version "22.1") | 130 | :version "22.1") |
| 130 | 131 | ||
| 131 | (defface compare-windows | 132 | (defface compare-windows |
| 132 | '((t :inherit lazy-highlight)) | 133 | '((t :inherit lazy-highlight)) |
| 133 | "Face for highlighting of compare-windows difference regions." | 134 | "Face for highlighting of compare-windows difference regions." |
| 134 | :group 'compare-w | 135 | :group 'compare-windows |
| 135 | :version "22.1") | 136 | :version "22.1") |
| 136 | 137 | ||
| 137 | (defvar compare-windows-overlay1 nil) | 138 | (defvar compare-windows-overlay1 nil) |