diff --git a/src/Parser.php b/src/Parser.php index f703f14..14984b9 100644 --- a/src/Parser.php +++ b/src/Parser.php @@ -112,6 +112,10 @@ function(Tag $tag) use ($source) { */ protected function getContents($filePath) { + # Ignore the empty symlinks that emacs leaves + if (!file_exists($filePath)) { + return false; + } $source = file_get_contents($filePath); if ($source === false) { throw new \Exception(