Hi !
I have not checked precisely, but probably at least since:
2005-10-12 Jérôme Marant <jmarant(a)free.fr>
* sh-script.el: Sync with GNU Emacs 21.4
the function sh-mode doesn't work in XEmacs. It is defined with
define-derived-mode and nil as the parent. This makes the resulting function
try to call (nil) as a function. I'm puzzled that this hasn't been spotted
earlier.
A quick fix is to make fundamental-mode the parent of sh-mode, but I fail to
see the point of defining a _derived_ mode if there is no parent... I suspect
the semantics of define-derived-mode in GNU Emacs is a bit different ?
--
Check out my new jazz CD on
http://www.didierverna.com/ !
Didier Verna EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (1) 44 08 01 85
94276 Le Kremlin-Bicêtre, France Fax.+33 (1) 53 14 59 22
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta