NOTE: This patch has been committed. The version below is
informational only (whitespace differences have been removed).
Dear reviewers,
the following patch fixes the definition for sh-mode (otherwise,
XEmacs tries to execute the function nil). Daniel, I don't know the status of
sh-script.el in GNU Emacs; ours is version 2.0f, imported by Jérôme Marant in
October 2005.
xemacs-packages/sh-script/ChangeLog addition:
2007-02-06 Didier Verna <didier(a)xemacs.org>
* sh-script.el (sh-mode): Derive from a real mode
(fundamental-mode), not from nil.
XEmacs Packages source patch:
Diff command: runsocks cvs -q diff -u -t -b -B -w
Files affected: xemacs-packages/sh-script/sh-script.el
Index: xemacs-packages/sh-script/sh-script.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/sh-script/sh-script.el,v
retrieving revision 1.9
diff -u -u -t -b -B -w -r1.9 sh-script.el
--- xemacs-packages/sh-script/sh-script.el 15 Oct 2005 15:41:59 -0000 1.9
+++ xemacs-packages/sh-script/sh-script.el 6 Feb 2007 15:20:28 -0000
@@ -1233,7 +1233,7 @@
(put 'sh-mode 'mode-class 'special)
;;;###autoload
-(define-derived-mode sh-mode nil "Shell-script"
+(define-derived-mode sh-mode fundamental-mode "Shell-script"
"Major mode for editing shell scripts.
This mode works for many shells, since they all have roughly the same syntax,
as far as commands, arguments, variables, pipes, comments etc. are concerned.
--
The @-quartet now available on iTunes !
http://www.didierverna.com/records/
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-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches