diff options
| author | Dave Love | 2000-07-12 17:28:19 +0000 |
|---|---|---|
| committer | Dave Love | 2000-07-12 17:28:19 +0000 |
| commit | 37328bcd5373c916e86ea1c8e4435ddf09ba6e92 (patch) | |
| tree | a686e391ab85a775e2ac046ac1799828acebdc6c | |
| parent | d8ee78037a119624679d32703b8d47444e10a746 (diff) | |
| download | emacs-37328bcd5373c916e86ea1c8e4435ddf09ba6e92.tar.gz emacs-37328bcd5373c916e86ea1c8e4435ddf09ba6e92.zip | |
Add optional version as 4th element of specs and use it for several
things new in v21. Remove load-path. Fix type of
line-number-display-limit.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/cus-start.el | 43 |
2 files changed, 32 insertions, 17 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9b3a21770c1..8700f3bc27e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2000-07-12 Dave Love <fx@gnu.org> | ||
| 2 | |||
| 3 | * cus-start.el: Add optional version as 4th element of specs and | ||
| 4 | use it for several things new in v21. Remove load-path. Fix type | ||
| 5 | of line-number-display-limit. | ||
| 6 | |||
| 1 | 2000-07-11 Dave Love <fx@gnu.org> | 7 | 2000-07-11 Dave Love <fx@gnu.org> |
| 2 | 8 | ||
| 3 | * progmodes/fortran.el: Don't require easymenu. Use repeat counts | 9 | * progmodes/fortran.el: Don't require easymenu. Use repeat counts |
diff --git a/lisp/cus-start.el b/lisp/cus-start.el index 2a7b3b314ba..90cfe72d9eb 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; cus-start.el --- define customization properties of builtins. | 1 | ;;; cus-start.el --- define customization properties of builtins. |
| 2 | ;; | 2 | ;; |
| 3 | ;; Copyright (C) 1997, 1999 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc. |
| 4 | ;; | 4 | ;; |
| 5 | ;; Author: Per Abrahamsen <abraham@dina.kvl.dk> | 5 | ;; Author: Per Abrahamsen <abraham@dina.kvl.dk> |
| 6 | ;; Keywords: internal | 6 | ;; Keywords: internal |
| @@ -54,9 +54,9 @@ | |||
| 54 | (truncate-lines display boolean) | 54 | (truncate-lines display boolean) |
| 55 | (selective-display-ellipses display boolean) | 55 | (selective-display-ellipses display boolean) |
| 56 | (transient-mark-mode editing-basics boolean) | 56 | (transient-mark-mode editing-basics boolean) |
| 57 | (indicate-empty-lines display boolean) | 57 | (indicate-empty-lines display boolean "21.1") |
| 58 | (scroll-up-aggressively windows boolean) | 58 | (scroll-up-aggressively windows boolean "21.1") |
| 59 | (scroll-down-aggressively windows boolean) | 59 | (scroll-down-aggressively windows boolean "21.1") |
| 60 | ;; callint.c | 60 | ;; callint.c |
| 61 | (mark-even-if-inactive editing-basics boolean) | 61 | (mark-even-if-inactive editing-basics boolean) |
| 62 | ;; callproc.c | 62 | ;; callproc.c |
| @@ -105,7 +105,7 @@ | |||
| 105 | ;; fileio.c | 105 | ;; fileio.c |
| 106 | (insert-default-directory minibuffer boolean) | 106 | (insert-default-directory minibuffer boolean) |
| 107 | ;; fns.c | 107 | ;; fns.c |
| 108 | (use-dialog-box menu boolean) | 108 | (use-dialog-box menu boolean "21.1") |
| 109 | ;; frame.c | 109 | ;; frame.c |
| 110 | (default-frame-alist frames | 110 | (default-frame-alist frames |
| 111 | (repeat (cons :format "%v" | 111 | (repeat (cons :format "%v" |
| @@ -130,11 +130,16 @@ | |||
| 130 | (integer :tag "time" 2) | 130 | (integer :tag "time" 2) |
| 131 | (other :tag "on"))) | 131 | (other :tag "on"))) |
| 132 | ;; lread.c | 132 | ;; lread.c |
| 133 | (load-path environment | 133 | |
| 134 | (repeat (choice :tag "[Current dir?]" | 134 | ;; This is not good news because it will use the wrong |
| 135 | :format "%[Current dir?%] %v" | 135 | ;; version-specific directories when you upgrade. We need |
| 136 | (const :tag " current dir" nil) | 136 | ;; customization of the front of the list, maintaining the standard |
| 137 | (directory :format "%v")))) | 137 | ;; value intact at the back. |
| 138 | ;;; (load-path environment | ||
| 139 | ;;; (repeat (choice :tag "[Current dir?]" | ||
| 140 | ;;; :format "%[Current dir?%] %v" | ||
| 141 | ;;; (const :tag " current dir" nil) | ||
| 142 | ;;; (directory :format "%v")))) | ||
| 138 | ;; minibuf.c | 143 | ;; minibuf.c |
| 139 | (completion-auto-help minibuffer boolean) | 144 | (completion-auto-help minibuffer boolean) |
| 140 | (enable-recursive-minibuffers minibuffer boolean) | 145 | (enable-recursive-minibuffers minibuffer boolean) |
| @@ -192,7 +197,9 @@ | |||
| 192 | (scroll-margin windows integer) | 197 | (scroll-margin windows integer) |
| 193 | (truncate-partial-width-windows display boolean) | 198 | (truncate-partial-width-windows display boolean) |
| 194 | (mode-line-inverse-video modeline boolean) | 199 | (mode-line-inverse-video modeline boolean) |
| 195 | (line-number-display-limit display integer) | 200 | (line-number-display-limit display |
| 201 | (choice integer | ||
| 202 | (const :tag "No limit" nil))) | ||
| 196 | (highlight-nonselected-windows display boolean) | 203 | (highlight-nonselected-windows display boolean) |
| 197 | (message-log-max debug (choice (const :tag "Disable" nil) | 204 | (message-log-max debug (choice (const :tag "Disable" nil) |
| 198 | (integer :menu-tag "lines" | 205 | (integer :menu-tag "lines" |
| @@ -203,8 +210,8 @@ | |||
| 203 | (x-bitmap-file-path installation | 210 | (x-bitmap-file-path installation |
| 204 | (repeat (directory :format "%v"))) | 211 | (repeat (directory :format "%v"))) |
| 205 | ;; xterm.c | 212 | ;; xterm.c |
| 206 | (x-stretch-cursor display boolean))) | 213 | (x-stretch-cursor display boolean "21.1"))) |
| 207 | this symbol group type native-p | 214 | this symbol group type native-p version |
| 208 | ;; This function turns a value | 215 | ;; This function turns a value |
| 209 | ;; into an expression which produces that value. | 216 | ;; into an expression which produces that value. |
| 210 | (quoter (lambda (sexp) | 217 | (quoter (lambda (sexp) |
| @@ -213,9 +220,9 @@ | |||
| 213 | (and (listp sexp) | 220 | (and (listp sexp) |
| 214 | (memq (car sexp) '(lambda))) | 221 | (memq (car sexp) '(lambda))) |
| 215 | (stringp sexp) | 222 | (stringp sexp) |
| 216 | (numberp sexp) | 223 | ;; (and (fboundp 'characterp) |
| 217 | (and (fboundp 'characterp) | 224 | ;; (characterp sexp)) |
| 218 | (characterp sexp))) | 225 | (numberp sexp)) |
| 219 | sexp | 226 | sexp |
| 220 | (list 'quote sexp))))) | 227 | (list 'quote sexp))))) |
| 221 | (while all | 228 | (while all |
| @@ -224,6 +231,7 @@ | |||
| 224 | symbol (nth 0 this) | 231 | symbol (nth 0 this) |
| 225 | group (nth 1 this) | 232 | group (nth 1 this) |
| 226 | type (nth 2 this) | 233 | type (nth 2 this) |
| 234 | version (nth 3 this) | ||
| 227 | ;; Don't complain about missing variables which are | 235 | ;; Don't complain about missing variables which are |
| 228 | ;; irrelevant to this platform. | 236 | ;; irrelevant to this platform. |
| 229 | native-p (save-match-data | 237 | native-p (save-match-data |
| @@ -247,7 +255,8 @@ | |||
| 247 | ;; Add it to the right group. | 255 | ;; Add it to the right group. |
| 248 | (custom-add-to-group group symbol 'custom-variable) | 256 | (custom-add-to-group group symbol 'custom-variable) |
| 249 | ;; Set the type. | 257 | ;; Set the type. |
| 250 | (put symbol 'custom-type type))))) | 258 | (put symbol 'custom-type type) |
| 259 | (put symbol 'custom-version version))))) | ||
| 251 | 260 | ||
| 252 | ;; Record cus-start as loaded | 261 | ;; Record cus-start as loaded |
| 253 | ;; if we have set up all the info that we can set up. | 262 | ;; if we have set up all the info that we can set up. |