all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* find-file-noselect
@ 2012-08-30 17:15 drain
  2012-08-30 21:12 ` find-file-noselect Doug Lewan
  2012-08-30 21:14 ` find-file-noselect Doug Lewan
  0 siblings, 2 replies; 4+ messages in thread
From: drain @ 2012-08-30 17:15 UTC (permalink / raw)
  To: Help-gnu-emacs

I want a function that does the same thing, but with the shell, e.g., what
this does to a file: 

(save-excursion
  (let ((foo (get-buffer (find-file-noselect "/home/drain/foo.org"))))
	(set-buffer foo)
	(insert "test operation")))

In case further clarity is necessary:

I want to open a shell buffer, but do not want to select it (so I stay in
the current buffer). Just like the above, but with the shell instead of
foo.org.




--
View this message in context: http://emacs.1067599.n5.nabble.com/find-file-noselect-tp262675.html
Sent from the Emacs - Help mailing list archive at Nabble.com.



^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <mailman.7829.1346346933.855.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2012-08-31  1:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-30 17:15 find-file-noselect drain
2012-08-30 21:12 ` find-file-noselect Doug Lewan
2012-08-30 21:14 ` find-file-noselect Doug Lewan
     [not found] <mailman.7829.1346346933.855.help-gnu-emacs@gnu.org>
2012-08-31  1:48 ` find-file-noselect Stefan Monnier

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.