Commits

Anonymous committed 847a83c

Patch by Norbert Koch in <vz7k3qg564.fsf@redqueen.bytechase.cx>.

  • Participants
  • Parent commits 8f373a2

Comments (0)

Files changed (2)

+2003-09-30  Norbert Koch  <viteno@xemacs.org>
+
+	* hm--html-menu.el: Use menu functionality only	if it's bound.
+
 2003-06-28  Norbert Koch  <viteno@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.21 released.
 (if (adapt-xemacsp)
     (progn
 
-      (defvar hm--html-gpmr (symbol-function 'get-popup-menu-response))
+      (defvar hm--html-gpmr 
+	(when (fboundp 'get-popup-menu-response)
+	  (symbol-function 'get-popup-menu-response)))
       
       (defun hm--html-call-wrapped-sgml-menu (event)
 	(flet ((get-popup-menu-response (menudesc &optional event)