]> code.delx.au - gnu-emacs/blobdiff - lisp/cus-start.el
Fix previous change.
[gnu-emacs] / lisp / cus-start.el
index 9ece1e8d2f0d20b269e70fadd01f78c70cff984a..36bebf6887109acb00a1916bef6dc5e9f94e8341 100644 (file)
@@ -1,6 +1,6 @@
 ;;; cus-start.el --- define customization properties of builtins
 ;;
-;; Copyright (C) 1997, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+;; Copyright (C) 1997, 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc.
 ;;
 ;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
 ;; Keywords: internal
             (pre-abbrev-expand-hook abbrev-mode hook)
             ;; alloc.c
             (gc-cons-threshold alloc integer)
+            (garbage-collection-messages alloc boolean)
+            ;; undo.c
             (undo-limit undo integer)
             (undo-strong-limit undo integer)
-            (garbage-collection-messages alloc boolean)
+            (undo-outer-limit undo
+                              (choice integer
+                                      (const :tag "No limit"
+                                             :format "%t\n%d"
+                                             :doc
+                                             "With this choice, \
+the undo info for the current command never gets discarded.
+This should only be chosen under exceptional circumstances,
+since it could result in memory overflow and make Emacs crash."
+                                             nil))
+                              "22.1")
             ;; buffer.c
             (mode-line-format modeline sexp) ;Hard to do right.
             (default-major-mode internal function)
                                    (const :tag "always" t)))
             ;; fileio.c
             (insert-default-directory minibuffer boolean)
+            (read-file-name-completion-ignore-case minibuffer boolean "22.1")
             ;; fns.c
             (use-dialog-box menu boolean "21.1")
+            (use-file-dialog menu boolean "22.1")
             ;; frame.c
             (default-frame-alist frames
               (repeat (cons :format "%v"
             (history-length minibuffer
                             (choice (const :tag "Infinite" t)
                                     integer))
+            (history-delete-duplicates minibuffer boolean)
             (minibuffer-prompt-properties
              minibuffer
              (list
             ;; syntax.c
             (parse-sexp-ignore-comments editing-basics boolean)
             (words-include-escapes editing-basics boolean)
+            (open-paren-in-column-0-is-defun-start editing-basics boolean
+                                                   "21.1")
             ;; window.c
             (temp-buffer-show-function windows (choice (const nil) function))
             (display-buffer-function windows (choice (const nil) function))
             (line-number-display-limit display
                                        (choice integer
                                                (const :tag "No limit" nil)))
+            (line-number-display-limit-width display integer)
             (highlight-nonselected-windows display boolean)
             (message-log-max debug (choice (const :tag "Disable" nil)
                                            (integer :menu-tag "lines"
                                                     :format "%v")
                                            (other :tag "Unlimited" t)))
             (unibyte-display-via-language-environment mule boolean)
+            (blink-cursor-alist cursor alist "22.1")
             ;; xfaces.c
             (scalable-fonts-allowed display boolean)
             ;; xfns.c
             (x-bitmap-file-path installation
                                 (repeat (directory :format "%v")))
+            (x-use-old-gtk-file-dialog menu boolean "22.1")
             ;; xterm.c
              (mouse-autoselect-window display boolean "21.3")
             (x-use-underline-position-properties display boolean "21.3")
             (x-stretch-cursor display boolean "21.1")))
-      this symbol group type native-p version
+      this symbol group type standard version native-p
       ;; This function turns a value
       ;; into an expression which produces that value.
       (quoter (lambda (sexp)
                        (and (listp sexp)
                             (memq (car sexp) '(lambda)))
                        (stringp sexp)
-;;                     (and (fboundp 'characterp)
-;;                          (characterp sexp))
                        (numberp sexp))
                    sexp
                  (list 'quote sexp)))))
          group (nth 1 this)
          type (nth 2 this)
          version (nth 3 this)
+         ;; If we did not specify any standard value expression above,
+         ;; use the current value as the standard value.
+         standard (if (nthcdr 4 this)
+                      (nth 4 this)
+                    (when (default-boundp symbol)
+                      (funcall quoter (default-value symbol))))
          ;; Don't complain about missing variables which are
          ;; irrelevant to this platform.
          native-p (save-match-data
             (message "Note, built-in variable `%S' not bound" symbol))
       ;; Save the standard value, unless we already did.
       (or (get symbol 'standard-value)
-         (put symbol 'standard-value
-              (list (funcall quoter (default-value symbol)))))
+         (put symbol 'standard-value (list standard)))
       ;; If this is NOT while dumping Emacs,
       ;; set up the rest of the customization info.
       (unless purify-flag
        (put symbol 'custom-version version)))))
 
 (custom-add-to-group 'iswitchb 'read-buffer-function 'custom-variable)
+(custom-add-to-group 'font-lock 'open-paren-in-column-0-is-defun-start
+                    'custom-variable)
 (put 'selection-coding-system 'custom-set
      (lambda (symbol value)
        (set-selection-coding-system value)
 (unless purify-flag
   (provide 'cus-start))
 
+;;; arch-tag: 4502730d-bcb3-4f5e-99a3-a86f2d54af60
 ;;; cus-start.el ends here