unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to open file unconditionally?
@ 2022-10-16  9:13 Jean Louis
  2022-10-16 10:29 ` Thibaut Verron
  0 siblings, 1 reply; 4+ messages in thread
From: Jean Louis @ 2022-10-16  9:13 UTC (permalink / raw)
  To: Help GNU Emacs

I wish to open file unconditionally. In my case I am opening
dynamically generated pictures. Once picture is in Emacs, another
dynamic picture is generated. I wish that find-file does not ask me
yes/no when opening a file that already has a buffer. I want to simply
open it without disturbance.

I have tried following:

	     (let ((confirm-nonexistent-file-or-buffer 1))
	       (find-file svg)))))))

but that does not get noticed by find-file


--
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-17  8:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-16  9:13 How to open file unconditionally? Jean Louis
2022-10-16 10:29 ` Thibaut Verron
2022-10-17  4:01   ` Jean Louis
2022-10-17  8:59     ` Thibaut Verron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).