diff options
| author | Luc Teirlinck | 2005-02-22 23:12:15 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-02-22 23:12:15 +0000 |
| commit | 62bf2fd1a55a34115fe5bebe9952b14420cd772c (patch) | |
| tree | c50bf847958fc86617edf372951d0954bbe2affb | |
| parent | 48d66f99eb3112e8312666d543b49c0177653ba8 (diff) | |
| download | emacs-62bf2fd1a55a34115fe5bebe9952b14420cd772c.tar.gz emacs-62bf2fd1a55a34115fe5bebe9952b14420cd772c.zip | |
Comment change.
| -rw-r--r-- | lisp/cus-edit.el | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 71fe7e18fe4..85772094c9a 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -35,7 +35,7 @@ | |||
| 35 | ;; that the user will run with M-x, and `Custom-' for interactive commands. | 35 | ;; that the user will run with M-x, and `Custom-' for interactive commands. |
| 36 | 36 | ||
| 37 | ;; The identity of a customize option is represented by a Lisp symbol. | 37 | ;; The identity of a customize option is represented by a Lisp symbol. |
| 38 | ;; There is the following values associated with an option. | 38 | ;; The following values are associated with an option. |
| 39 | 39 | ||
| 40 | ;; 0. The current value. | 40 | ;; 0. The current value. |
| 41 | 41 | ||
| @@ -48,42 +48,42 @@ | |||
| 48 | 48 | ||
| 49 | ;; 1. The widget value. | 49 | ;; 1. The widget value. |
| 50 | 50 | ||
| 51 | ;; This is the value shown in the widget in a customize buffer. | 51 | ;; This is the value shown in the widget in a customize buffer. |
| 52 | 52 | ||
| 53 | ;; 2. The customized value. | 53 | ;; 2. The customized value. |
| 54 | 54 | ||
| 55 | ;; This is the last value given to the option through customize. | 55 | ;; This is the last value given to the option through customize. |
| 56 | 56 | ||
| 57 | ;; It is stored in the 'customized-value' property of the option, in a | 57 | ;; It is stored in the 'customized-value' property of the option, in a |
| 58 | ;; cons-cell whose car evaluate to the customized value. | 58 | ;; cons-cell whose car evaluates to the customized value. |
| 59 | 59 | ||
| 60 | ;; 3. The saved value. | 60 | ;; 3. The saved value. |
| 61 | 61 | ||
| 62 | ;; This is last value saved from customize. | 62 | ;; This is last value saved from customize. |
| 63 | 63 | ||
| 64 | ;; It is stored in the 'saved-value' property of the option, in a | 64 | ;; It is stored in the 'saved-value' property of the option, in a |
| 65 | ;; cons-cell whose car evaluate to the saved value. | 65 | ;; cons-cell whose car evaluates to the saved value. |
| 66 | 66 | ||
| 67 | ;; 4. The standard value. | 67 | ;; 4. The standard value. |
| 68 | 68 | ||
| 69 | ;; This is the value given in the 'defcustom' declaration. | 69 | ;; This is the value given in the 'defcustom' declaration. |
| 70 | 70 | ||
| 71 | ;; It is stored in the 'standard-value' property of the option, in a | 71 | ;; It is stored in the 'standard-value' property of the option, in a |
| 72 | ;; cons-cell whose car evaluate to the standard value. | 72 | ;; cons-cell whose car evaluates to the standard value. |
| 73 | 73 | ||
| 74 | ;; 5. The "think" value. | 74 | ;; 5. The "think" value. |
| 75 | 75 | ||
| 76 | ;; This is what customize think the current value should be. | 76 | ;; This is what customize thinks the current value should be. |
| 77 | 77 | ||
| 78 | ;; This is the customize value, if any such value exists, otherwise | 78 | ;; This is the customized value, if any such value exists, otherwise |
| 79 | ;; the saved value, if that exists, and as a last resort the standard | 79 | ;; the saved value, if that exists, and as a last resort the standard |
| 80 | ;; value. | 80 | ;; value. |
| 81 | 81 | ||
| 82 | ;; The reason for storing values unevaluated: This is so you can have | 82 | ;; The reason for storing values unevaluated: This is so you can have |
| 83 | ;; values that depend on the environment. For example, you can have a | 83 | ;; values that depend on the environment. For example, you can have a |
| 84 | ;; valiable that has one value when Emacs is running under a window | 84 | ;; variable that has one value when Emacs is running under a window |
| 85 | ;; system, and another value on a tty. Since the evaluation is only done | 85 | ;; system, and another value on a tty. Since the evaluation is only done |
| 86 | ;; when the variable is firsty initialized, this is only relevant for the | 86 | ;; when the variable is first initialized, this is only relevant for the |
| 87 | ;; saved (and standard) values, but affect others values for | 87 | ;; saved (and standard) values, but affect others values for |
| 88 | ;; compatibility. | 88 | ;; compatibility. |
| 89 | 89 | ||
| @@ -103,8 +103,8 @@ | |||
| 103 | ;; The widget value is different from the current value. | 103 | ;; The widget value is different from the current value. |
| 104 | 104 | ||
| 105 | ;; 2. changed | 105 | ;; 2. changed |
| 106 | 106 | ||
| 107 | ;; The current value is different from the "think" value. | 107 | ;; The current value is different from the "think" value. |
| 108 | 108 | ||
| 109 | ;; 3. set | 109 | ;; 3. set |
| 110 | 110 | ||
| @@ -120,7 +120,11 @@ | |||
| 120 | 120 | ||
| 121 | ;; 6. rogue | 121 | ;; 6. rogue |
| 122 | 122 | ||
| 123 | ;; There are no standard value. | 123 | ;; There is no standard value. This means that the variable was |
| 124 | ;; not defined with defcustom. You can not create a Custom buffer | ||
| 125 | ;; for such variables using the normal interactive Custom commands. | ||
| 126 | ;; However, such Custom buffers can be created in other ways, for | ||
| 127 | ;; instance, by calling `customize-option' non-interactively. | ||
| 124 | 128 | ||
| 125 | ;; 7. hidden | 129 | ;; 7. hidden |
| 126 | 130 | ||
| @@ -129,7 +133,7 @@ | |||
| 129 | ;; 8. mismatch | 133 | ;; 8. mismatch |
| 130 | 134 | ||
| 131 | ;; The widget value is not valid member of the :type specified for the | 135 | ;; The widget value is not valid member of the :type specified for the |
| 132 | ;; option. | 136 | ;; option. |
| 133 | 137 | ||
| 134 | ;;; Code: | 138 | ;;; Code: |
| 135 | 139 | ||