Variable: jit-lock-stealth-load

jit-lock-stealth-load is a customizable variable defined in jit-lock.el.gz.

Value

200

Documentation

Load in percentage above which stealth fontification is suspended.

Stealth fontification pauses when the system short-term load average (as returned by the function load-average if supported) goes above this level, thus reducing the demand that stealth fontification makes on the system. If nil, means stealth fontification is never suspended. To reduce machine load during stealth fontification, at the cost of stealth taking longer to fontify, you could reduce the value of this variable. See also jit-lock-stealth-nice.

Source Code

;; Defined in /usr/src/emacs/lisp/jit-lock.el.gz
(defcustom jit-lock-stealth-load
  (if (condition-case nil (load-average) (error)) 200)
  "Load in percentage above which stealth fontification is suspended.
Stealth fontification pauses when the system short-term load average (as
returned by the function `load-average' if supported) goes above this level,
thus reducing the demand that stealth fontification makes on the system.
If nil, means stealth fontification is never suspended.
To reduce machine load during stealth fontification, at the cost of stealth
taking longer to fontify, you could reduce the value of this variable.
See also `jit-lock-stealth-nice'."
  :type (if (condition-case nil (load-average) (error))
	    '(choice (const :tag "never" nil)
		     (integer :tag "load"))
	  '(const :format "%t: unsupported\n" nil)))