diff options
| author | Eli Zaretskii | 2013-01-13 19:47:45 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-01-13 19:47:45 +0200 |
| commit | ad33a799f8e261accd73631cf8c7af061dfe5f95 (patch) | |
| tree | 2e702172073f3f157ae8fdb67232dc6db5dfb926 | |
| parent | b86195e6696824546efbefc9a05cdda797176366 (diff) | |
| download | emacs-ad33a799f8e261accd73631cf8c7af061dfe5f95.tar.gz emacs-ad33a799f8e261accd73631cf8c7af061dfe5f95.zip | |
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.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/cus-start.el | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4bd5ba43be6..5721ac24150 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-01-13 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * cus-start.el (all): Avoid warnings about | ||
| 4 | scroll-bar-adjust-thumb-portion on platforms where it is not | ||
| 5 | defined. | ||
| 6 | |||
| 1 | 2013-01-11 Jan Djärv <jan.h.d@swipnet.se> | 7 | 2013-01-11 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 8 | ||
| 3 | * cus-start.el (all): Add scroll-bar-adjust-thumb-portion. | 9 | * 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." | |||
| 576 | (symbol-name symbol)) | 576 | (symbol-name symbol)) |
| 577 | ;; Any function from fontset.c will do. | 577 | ;; Any function from fontset.c will do. |
| 578 | (fboundp 'new-fontset)) | 578 | (fboundp 'new-fontset)) |
| 579 | ((equal "scroll-bar-adjust-thumb-portion" | ||
| 580 | (symbol-name symbol)) | ||
| 581 | (featurep 'x)) | ||
| 579 | (t t)))) | 582 | (t t)))) |
| 580 | (if (not (boundp symbol)) | 583 | (if (not (boundp symbol)) |
| 581 | ;; If variables are removed from C code, give an error here! | 584 | ;; If variables are removed from C code, give an error here! |