From ad33a799f8e261accd73631cf8c7af061dfe5f95 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 13 Jan 2013 19:47:45 +0200 Subject: [PATCH] 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. --- lisp/ChangeLog | 6 ++++++ lisp/cus-start.el | 3 +++ 2 files changed, 9 insertions(+) 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! -- 2.11.4.GIT