all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Politz <politza@hochschule-trier.de>
To: npostavs@users.sourceforge.net
Cc: 25340@debbugs.gnu.org,
	Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>
Subject: bug#25340: Save-some-buffers gets called when installing packages.
Date: Sat, 04 Mar 2017 11:18:22 +0100	[thread overview]
Message-ID: <8760jpcpld.fsf@luca> (raw)
In-Reply-To: <87fukw5381.fsf@users.sourceforge.net> (npostavs's message of "Thu, 05 Jan 2017 21:31:10 -0500")

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





  parent reply	other threads:[~2017-03-04 10:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-02 22:42 bug#25340: Save-some-buffers gets called when installing packages Nikolay Kudryavtsev
2017-01-05  4:35 ` npostavs
2017-01-05  6:26   ` Nikolay Kudryavtsev
2017-01-06  2:31     ` npostavs
2017-01-07 18:06       ` Nikolay Kudryavtsev
2017-01-07 18:47         ` npostavs
2017-01-08  4:56           ` Nikolay Kudryavtsev
2017-01-08  5:33         ` npostavs
2017-01-08  8:06           ` Nikolay Kudryavtsev
2017-01-08 17:03             ` npostavs
     [not found]               ` <aa6168cc-d8eb-2c1c-70af-a63aed862b75@gmail.com>
2017-01-09 15:33                 ` bug#25340: Fwd: " Noam Postavsky
2017-01-16  1:09                   ` npostavs
2017-03-18  6:55                   ` Tino Calancha
2017-03-04 10:18       ` Andreas Politz [this message]
2017-03-04 14:47         ` npostavs
2017-03-04 11:25 ` Andreas Politz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760jpcpld.fsf@luca \
    --to=politza@hochschule-trier.de \
    --cc=25340@debbugs.gnu.org \
    --cc=nikolay.kudryavtsev@gmail.com \
    --cc=npostavs@users.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.