mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
Make some additional defcustom types more restrictive
* lisp/desktop.el (desktop-lazy-idle-delay): * lisp/files.el (dired-kept-versions) (kept-old-versions, kept-new-versions): * lisp/filesets.el (filesets-max-submenu-length) (filesets-max-entry-length, filesets-tree-max-level) (filesets-query-user-limit): * lisp/hi-lock.el (hi-lock-file-patterns-range) (hi-lock-highlight-range): * lisp/ido.el (ido-max-work-directory-list): * lisp/image/gravatar.el (gravatar-cache-ttl): * lisp/imenu.el (imenu-auto-rescan-maxout, imenu-max-items): * lisp/informat.el (Info-split-threshold): * lisp/mail/hashcash.el (hashcash-default-payment) (hashcash-default-accept-payment): * lisp/mail/mail-hist.el (mail-hist-history-size): * lisp/mail/smtpmail.el (smtpmail-retries): * lisp/msb.el (msb-display-most-recently-used): * lisp/nxml/rng-valid.el (rng-state-cache-distance) (rng-validate-chunk-size): * lisp/progmodes/gdb-mi.el (gdb-max-source-window-count): * lisp/recentf.el (recentf-arrange-by-rules-min-items): * lisp/simple.el (kill-ring-max, mark-ring-max) (global-mark-ring-max): * lisp/tab-line.el (tab-line-tab-name-truncated-max): * lisp/term.el (term-buffer-maximum-size, term-input-chunk-size): * lisp/thumbs.el (thumbs-max-image-number) (thumbs-thumbsdir-max-size, thumbs-relief, thumbs-margin) (thumbs-image-resizing-step): * lisp/type-break.el (type-break-interval) (type-break-good-rest-interval, type-break-query-interval) (type-break-warning-repeat): * lisp/vc/compare-w.el (compare-windows-sync-string-size): * lisp/woman.el (woman-fill-column): Use defcustom :type natnum. * lisp/emacs-lisp/backtrace.el (backtrace-line-length): * lisp/doc-view.el (doc-view-conversion-refresh-interval): Use defcustom :type natnum and allow the nil value. * lisp/gnus/spam-stat.el (spam-stat-process-directory-age): Use defcustom :type integer.
This commit is contained in:
parent
22bcbf8e2c
commit
6a7bb1ddbc
25 changed files with 52 additions and 51 deletions
|
|
@ -110,14 +110,14 @@
|
|||
|
||||
(defcustom rng-state-cache-distance 2000
|
||||
"Distance in characters between each parsing and validation state cache."
|
||||
:type 'integer)
|
||||
:type 'natnum)
|
||||
|
||||
(defcustom rng-validate-chunk-size 8000
|
||||
"Number of characters in a RELAX NG validation chunk.
|
||||
A validation chunk will be the smallest chunk that is at least this
|
||||
size and ends with a tag. After validating a chunk, validation will
|
||||
continue only if Emacs is still idle."
|
||||
:type 'integer)
|
||||
:type 'natnum)
|
||||
|
||||
(defcustom rng-validate-delay 1.5
|
||||
"Time in seconds that Emacs must be idle before starting a full validation.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue