summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marshall <simon@gnu.org>1997-04-18 12:25:09 +0000
committerSimon Marshall <simon@gnu.org>1997-04-18 12:25:09 +0000
commitce75caec799ca36447937fe9b128891a58830522 (patch)
tree5c2bd4a598ded51ff983d1dcf5b58518582dd783
parentfd23608febae453d22082352d8dcb23495f7a061 (diff)
downloademacs-ce75caec799ca36447937fe9b128891a58830522.tar.gz
Don't use cl forms in defcustom declarations.
-rw-r--r--lisp/lazy-lock.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/lazy-lock.el b/lisp/lazy-lock.el
index 5f048d3b75f..4c894d77d85 100644
--- a/lisp/lazy-lock.el
+++ b/lisp/lazy-lock.el
@@ -454,8 +454,7 @@ taking longer to fontify, you could reduce the value of this variable."
:group 'lazy-lock)
(defcustom lazy-lock-stealth-load
- (when (condition-case nil (load-average) (error))
- 200)
+ (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,
@@ -484,8 +483,8 @@ See also `lazy-lock-stealth-load'."
:group 'lazy-lock)
(defcustom lazy-lock-stealth-verbose
- (when (featurep 'lisp-float-type)
- (and font-lock-verbose (not lazy-lock-defer-contextually)))
+ (if (featurep 'lisp-float-type)
+ (and (not lazy-lock-defer-contextually) (not (null font-lock-verbose))))
"*If non-nil, means stealth fontification should show status messages."
:type 'boolean
:group 'lazy-lock)