Thanks a lot! Applied and uploaded. Best regards,
// Ola On Sun, Apr 27, 2008 at 12:05:18PM -0400, Neil Moore wrote: > 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/ > > > -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | http://inguza.com/ +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]