Steve Youngs <steve@xxxxxxxxxxx> writes:
> * Zajcev Evgeny <zevlg@xxxxxxxxx> writes:
>
> > diff.el defines some internal variable `diff-emacs-19-p' like this:
> > (defconst diff-emacs-19-p
> > (let ((ver (string-to-int (substring emacs-version 0 2))))
> > (>= ver 19)))
>
> > As you can see we will get nil `diff-emacs-19-p' value under SXEmacs.
> > This can cause problems to SXEmacs.
>
> > We can have simple fix like this:
>
> Or, you could just use the patch that I have put in PROBLEMS...
>
> ,----
> | Index: diff.el
> | ===================================================================
> | RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/dired/diff.el,v
> | retrieving revision 1.4
> | diff -u -u -r1.4 diff.el
> | --- diff.el 2 Oct 2004 14:06:17 -0000 1.4
> | +++ diff.el 14 Jan 2005 02:37:23 -0000
> | @@ -72,7 +72,7 @@
> | ;;; Internal variables
> |
> | (defconst diff-emacs-19-p
> | - (let ((ver (string-to-int (substring emacs-version 0 2))))
> | + (let ((ver emacs-major-version))
> | (>= ver 19)))
> |
> | (or diff-emacs-19-p (require 'emacs-19))
> `----
>
> This is what I sent Mike, way back when I first found this.
Oh, great! Did not knew about PROBLEMS file ;)
--
lg
|