|
From: | npostavs |
Subject: | bug#25340: Save-some-buffers gets called when installing packages. |
Date: | Thu, 05 Jan 2017 21:31:10 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com> writes: > The question now is whether there's even a need to add a new arg to > byte-recompile-directory? Possibly yes, since files can require others outside the directory being compiled. So we might not want to have this directory restriction applied always. > + (member (expand-file-name buffer-file-name) > + (directory-files directory t)))) I was thinking more along the lines of (string-prefix-p (expand-file-name directory) (expand-file-name buffer-file-name)) (Or does that break in some weird file systems?)
[Prev in Thread] | Current Thread | [Next in Thread] |