summaryrefslogtreecommitdiff
path: root/lisp/cus-start.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-01-13 19:47:45 +0200
committerEli Zaretskii <eliz@gnu.org>2013-01-13 19:47:45 +0200
commitad33a799f8e261accd73631cf8c7af061dfe5f95 (patch)
tree2e702172073f3f157ae8fdb67232dc6db5dfb926 /lisp/cus-start.el
parentb86195e6696824546efbefc9a05cdda797176366 (diff)
downloademacs-ad33a799f8e261accd73631cf8c7af061dfe5f95.tar.gz
Avoid warnings from cus-start.el regarding scroll-bar-adjust-thumb-portion.
lisp/cus-start.el (all): Avoid warnings about scroll-bar-adjust-thumb-portion on platforms where it is not defined.
Diffstat (limited to 'lisp/cus-start.el')
-rw-r--r--lisp/cus-start.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index e1d4eb837ca..62e91fafcbf 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -576,6 +576,9 @@ since it could result in memory overflow and make Emacs crash."
(symbol-name symbol))
;; Any function from fontset.c will do.
(fboundp 'new-fontset))
+ ((equal "scroll-bar-adjust-thumb-portion"
+ (symbol-name symbol))
+ (featurep 'x))
(t t))))
(if (not (boundp symbol))
;; If variables are removed from C code, give an error here!