[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug and patch



The elisp file goo.el does not support xemacs21 because it uses
lisp-mode-shared-map for what should be shared-lisp-mode-map when it
does:
(if (< emacs-major-version 21)
	shared-lisp-mode-map
	lisp-mode-shared-map))

A diff is attached that checks for xemacs.

Thanks.
-- 
Jonathan Hseu <vomjom@vomjom.org, vomjom@debian.org, jh4@cec.wustl.edu>
GPG ID:          5228D713
GPG fingerprint: 220B A4EF 70FE B884 CB38  F93F EA8A 1024 5228 D713
--- goo-0.133.orig/emacs/goo.el	Thu Apr 11 12:27:07 2002
+++ goo-0.133/emacs/goo.el	Sat May 18 11:07:05 2002
@@ -75,7 +75,7 @@
   (let ((map (make-sparse-keymap "Goo")))
     (setq goo-mode-map (make-sparse-keymap))
 	(set-keymap-parent goo-mode-map 
-					   (if (< emacs-major-version 21)
+					   (if (or (< emacs-major-version 21) (featurep 'xemacs))
 						   shared-lisp-mode-map
 						   lisp-mode-shared-map))
     (define-key goo-mode-map [menu-bar] (make-sparse-keymap))