When I ediff in magit repository, I got the following error.
Debugger entered--Lisp error: (args-out-of-range "magit.el" 38 8)
dir-locals-collect-variables(((emacs-lisp-mode (indent-tabs-mode)
(tab-width . 8))) "d:/Persistent/Emacs/lisp/vendor/magit/" nil)
hack-dir-local-variables()
hack-local-variables()
normal-mode()
magit-show("6fa8ee235973f8c9754b3f657fe06bf8774691e2^" "magit.el")
magit-ediff()
call-interactively(magit-ediff nil nil)
Here is the steps to reproduce:
- With "magit.el" the current buffer, type M-x magit-status
- Type "l", then "L"
- Type "n", then "RET"
- Type "n" to go to a diff hunk.
- Type "e" and there you go
Note that this is a problem only for projects that has dir variables defined
(like magit).
I'm using the latest Emacs 24 from git. Compiled with MinGW on Windows.
Thanks,
York
Problem disappeared after fetched a few new commits in Emacs 24. The original
problem probably related to recent changes in Emacs 24.
Thanks,
York