Last active
December 20, 2015 08:09
-
-
Save artagnon/6098345 to your computer and use it in GitHub Desktop.
Emacs bug in expand-file-name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd /tmp | |
rm -rf z b | |
mkdir z z/a z/b | |
ln -s z/b | |
cd b | |
emacs -Q --batch --eval='(error (expand-file-name "../a"))' # /tmp/a | |
realpath "../a" # /tmp/z/a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment