aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2005-09-09 16:22:11 +0000
committerEli Zaretskii2005-09-09 16:22:11 +0000
commit6eb33acbd4aac33844962f710917fdf0bb1bab02 (patch)
tree033032d37b9ab53c26aa4ca19263a17fc229fcfb
parent50a6ff152de5886d6a671597e8648dab57ec3080 (diff)
downloademacs-6eb33acbd4aac33844962f710917fdf0bb1bab02.tar.gz
emacs-6eb33acbd4aac33844962f710917fdf0bb1bab02.zip
(all): Don't complain about fringe-related
built-ins if fringes are not supported. Ditto about selection-related built-ins. Fix the test for GTK-related built-ins.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/cus-start.el8
2 files changed, 12 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 078d278064f..fd85c39f3a3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
12005-09-09 Eli Zaretskii <eliz@gnu.org> 12005-09-09 Eli Zaretskii <eliz@gnu.org>
2 2
3 * cus-start.el (all): Don't complain about fringe-related
4 built-ins if fringes are not supported. Ditto about
5 selection-related built-ins. Fix the test for GTK-related
6 built-ins.
7
3 * menu-bar.el ("Split Window", "Postscript Print Buffer (B+W)") 8 * menu-bar.el ("Split Window", "Postscript Print Buffer (B+W)")
4 ("Postscript Print Buffer", "Print Region", "Save As...") 9 ("Postscript Print Buffer", "Print Region", "Save As...")
5 ("Save", "Insert File...", "Open Directory...") 10 ("Save", "Insert File...", "Open Directory...")
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index 2f3cd5d0e07..c09e3152376 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -366,9 +366,15 @@ since it could result in memory overflow and make Emacs crash."
366 ((string-match "\\`w32-" (symbol-name symbol)) 366 ((string-match "\\`w32-" (symbol-name symbol))
367 (eq system-type 'windows-nt)) 367 (eq system-type 'windows-nt))
368 ((string-match "\\`x-.*gtk" (symbol-name symbol)) 368 ((string-match "\\`x-.*gtk" (symbol-name symbol))
369 (or (boundp 'gtk) (not (eq system-type 'windows-nt)))) 369 (or (boundp 'gtk)
370 (and (display-graphic-p)
371 (not (eq system-type 'windows-nt)))))
370 ((string-match "\\`x-" (symbol-name symbol)) 372 ((string-match "\\`x-" (symbol-name symbol))
371 (fboundp 'x-create-frame)) 373 (fboundp 'x-create-frame))
374 ((string-match "selection" (symbol-name symbol))
375 (fboundp 'x-selection-exists-p))
376 ((string-match "fringe" (symbol-name symbol))
377 (fboundp 'define-fringe-bitmap))
372 (t t)))) 378 (t t))))
373 (if (not (boundp symbol)) 379 (if (not (boundp symbol))
374 ;; If variables are removed from C code, give an error here! 380 ;; If variables are removed from C code, give an error here!