[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
find-file-noselect
From: |
drain |
Subject: |
find-file-noselect |
Date: |
Thu, 30 Aug 2012 10:15:25 -0700 (PDT) |
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.
- find-file-noselect,
drain <=