]> git.eshelyaron.com Git - emacs.git/commit
Fix file-name resolution in *compilation* and *grep* buffers
authorJurgen De Backer <jurgen.de-backer.ext@eurocontrol.int>
Thu, 4 Jan 2024 11:10:56 +0000 (11:10 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 6 Jan 2024 10:23:51 +0000 (12:23 +0200)
commit471cc26002d3f6028252c77998272fccf73722ec
treecfa3bfb2a3fdb0a5d642e299ce4afb6c83101922
parentd3a4fe5694f7bd1a09546d67d2cddc0f444d41ca
Fix file-name resolution in *compilation* and *grep* buffers

Resolving symlinks in file names could lead to non-existent files
if some leading directory is a symlink to its parent.
In emacs 28 'expand-file-name' was replaced by 'file-truename' to
solve bug #8035.

* lisp/progmodes/compile.el (safe-expand-file-name): New function.
(compilation-find-file-1): Call 'safe-expand-file-name'.  (Bug#67930)
lisp/progmodes/compile.el