all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: 17641@debbugs.gnu.org
Subject: bug#17641: 24.3.91; (locate-dominating-file "." Makefile) returns nil.
Date: Fri, 30 May 2014 15:02:24 +0200	[thread overview]
Message-ID: <87sinrfmhr.fsf@yahoo.fr> (raw)

Evalling
(locate-dominating-file "." "Makefile")
I get nil (unless the current directory has the file Makefile in it).

I expected to get some parent directory containing that file.

otoh, evalling:
(locate-dominating-file default-directory "Makefile")
works as expected.

In GNU Emacs 24.3.91.1 (i686-pc-linux-gnu, GTK+ Version 2.24.20)
 of 2014-05-13 on LDLC-portable
Windowing system distributor `The X.Org Foundation', version 11.0.11406000
System Description:	Ubuntu 13.10

-- 
Nico.





             reply	other threads:[~2014-05-30 13:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-30 13:02 Nicolas Richard [this message]
2014-05-30 23:23 ` bug#17641: 24.3.91; (locate-dominating-file "." Makefile) returns nil Glenn Morris
2014-05-31  1:39   ` Stefan Monnier
2014-05-31  2:27     ` Glenn Morris

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=87sinrfmhr.fsf@yahoo.fr \
    --to=theonewiththeevillook@yahoo.fr \
    --cc=17641@debbugs.gnu.org \
    /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.