bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Andreas Politz
Subject: bug#25340: Save-some-buffers gets called when installing packages.
Date: Sat, 04 Mar 2017 11:18:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

npostavs@users.sourceforge.net 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.

-ap





reply via email to

[Prev in Thread] Current Thread [Next in Thread]