1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

Fix .emacs and .emacs.d/init file recursion problem for NaCl

* files.el (file-truename): Add NaCl to the exception list ms-dos uses.
This commit is contained in:
Pete Williamson 2015-04-04 20:18:45 -07:00 committed by Paul Eggert
parent 207f119357
commit b79bcfd34f
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2015-04-05 Pete Williamson <petewil@chromium.org> (tiny-change)
Fix .emacs and .emacs.d/init file recursion problem for NaCl
* files.el (file-truename): Add NaCl to the exception list ms-dos uses.
2015-04-04 Alan Mackenzie <acm@muc.de>
* progmodes/cc-mode.el (c-font-lock-init): Revert 2015-02-01 change

View file

@ -1192,7 +1192,7 @@ containing it, until no links are left at any level.
(setq dirfile (directory-file-name dir))
;; If these are equal, we have the (or a) root directory.
(or (string= dir dirfile)
(and (memq system-type '(windows-nt ms-dos cygwin))
(and (memq system-type '(windows-nt ms-dos cygwin nacl))
(eq (compare-strings dir 0 nil dirfile 0 nil t) t))
;; If this is the same dir we last got the truename for,
;; save time--don't recalculate.