Tags: patch

There's no need to remove XEmacs support.  A small change is
sufficient to make php-elisp work with XEmacs.

Unlike GNU Emacs, XEmacs treats the dot in:

  [(control .)]

as though it were the separator of a dotted pair; since no cdr follows
it, this is a syntax error.  The fix is to backslash the period to
have it treated as a symbol, not syntax.  This change is compatible
with GNU Emacs 21 (haven't tested 22, but it uses a different
php-mode.el anyway).

(I also removed the unnecessary quote, though it doesn't hurt.)



diff -ru php-elisp-1.4.0-orig/php-mode-21.el php-elisp-1.4.0/php-mode-21.el
--- php-elisp-1.4.0-orig/php-mode-21.el 2008-04-27 11:54:09.000000000 -0400
+++ php-elisp-1.4.0/php-mode-21.el      2008-04-27 11:54:26.538133758 -0400
@@ -422,7 +422,7 @@
 
 ;; Define shortcut
 (define-key php-mode-map
-  '[(control .)]
+  [(control \.)]
   'php-show-arglist)
 
 (defconst php-constants


-- 
Neil Moore, [EMAIL PROTECTED], http://s-z.org/neil/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to