1 new commit in w3:
https://bitbucket.org/xemacs/w3/changeset/c6c39f2ef647/
changeset: c6c39f2ef647
user: kehoea
date: 2012-05-15 12:30:04
summary: Check for the menubar feature before calling #'custom-menu-create,
w3-menu.el
lisp/ChangeLog addition:
2012-05-15 Aidan Kehoe <kehoea(a)parhasard.net>
* lisp/w3-menu.el (w3-menu-edit-menu):
Check for the menubar or menu-bar feature before calling
#'custom-menu-create, making building with a headless XEmacs
practical.
affected #: 2 files
diff -r 59e99a00a59ffa39e51bb866ca30f2ec426459ee -r
c6c39f2ef647b9cfd97f0f6f838bc99d1d7117d5 ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-05-15 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * lisp/w3-menu.el (w3-menu-edit-menu):
+ Check for the menubar or menu-bar feature before calling
+ #'custom-menu-create, making building with a headless XEmacs
+ practical.
+
2012-05-11 Norbert Koch <viteno(a)xemacs.org>
* Makefile (VERSION): XEmacs package 1.37 released.
diff -r 59e99a00a59ffa39e51bb866ca30f2ec426459ee -r
c6c39f2ef647b9cfd97f0f6f838bc99d1d7117d5 lisp/w3-menu.el
--- a/lisp/w3-menu.el
+++ b/lisp/w3-menu.el
@@ -311,10 +311,12 @@
"----"
(list
"Preferences"
- (if (fboundp 'custom-menu-create)
+ (if (and (fboundp 'custom-menu-create) (or (featurep 'menubar)
+ (featurep 'menu-bar)))
(custom-menu-create 'w3)
["W3" ignore nil])
- (if (fboundp 'custom-menu-create)
+ (if (and (fboundp 'custom-menu-create) (or (featurep 'menubar)
+ (featurep 'menu-bar)))
(custom-menu-create 'url)
["URL" ignore nil])
)
Repository URL:
https://bitbucket.org/xemacs/w3/
--
This is a commit notification from
bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches