all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#17848: add suffix search to -l even when directory part in argument
@ 2014-06-25 17:34 Glenn Morris
  0 siblings, 0 replies; only message in thread
From: Glenn Morris @ 2014-06-25 17:34 UTC (permalink / raw)
  To: 17848

Package: emacs
Version: 24.4
Severity: wishlist

`emacs -L . -l foo' searches for foo.elc or foo.el in PWD.

`emacs -l ./foo' tries to open a file literally name "foo", with no suffix.
I wish it would still do the suffix search even when the file name
contains a directory part.

Motivation: when you don't know whether foo.elc exists or not
(eg you don't know whether foo.el contains no-byte-compile or not),
and you don't want to add the directory containing foo to load-path.







^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-25 17:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-25 17:34 bug#17848: add suffix search to -l even when directory part in argument Glenn Morris

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.