From: Eli Zaretskii Date: Sun, 13 Jan 2013 17:47:45 +0000 (+0200) Subject: Avoid warnings from cus-start.el regarding scroll-bar-adjust-thumb-portion. X-Git-Tag: emacs-24.3.90~173^2~7^2~313 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ad33a799f8e261accd73631cf8c7af061dfe5f95;p=emacs.git 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. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4bd5ba43be6..5721ac24150 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2013-01-13 Eli Zaretskii + + * cus-start.el (all): Avoid warnings about + scroll-bar-adjust-thumb-portion on platforms where it is not + defined. + 2013-01-11 Jan Djärv * cus-start.el (all): Add scroll-bar-adjust-thumb-portion. 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!