GNU bug report logs - #21095
[bug] buffer-file-name is nil in batch run

Previous Next

Package: emacs;

Reported by: Rasmus <rasmus <at> gmx.us>

Date: Mon, 20 Jul 2015 15:20:02 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Samer Masterson <nosefrog <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 21095 <at> debbugs.gnu.org, Rasmus <rasmus <at> gmx.us>, emacs-devel <at> gnu.org
Subject: bug#21095: [PATCH] switch to file buffer from command line args regardless of `initial-buffer-choice'
Date: Mon, 10 Aug 2015 11:16:54 -0700
[Message part 1 (text/plain, inline)]
Fixed with 5cd6c08 by using `set-buffer' instead of 'find-file'.

Best,
Samer

On Fri, Aug 7, 2015 at 2:22 PM, Stefan Monnier <monnier <at> iro.umontreal.ca>
wrote:

> > Is there a way of making the file buffer the current buffer without
> > displaying it, though?
>
> Of course: with-current-buffer and/or set-buffer.
>
>
>         Stefan
>
[Message part 2 (text/html, inline)]

This bug report was last modified 9 years and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.