Subject: bug#25340: Save-some-buffers gets called when installing packages.

From: [email-masked]
Date: Sat, 04 Mar 2017 09:47:10 -0500

Andreas Politz <[email-masked]> writes:

> [email-masked] writes:
>
>> I was thinking more along the lines of
>>
>>     (string-prefix-p (expand-file-name directory)
>>                      (expand-file-name buffer-file-name))
>>
>
> Why not use `file-in-directory-p', which is a function created for this
> problem.

Yeah, that makes sense, if I had known about that function I would have
suggested it.