help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [h-e-w] Starting a second shell


From: Ray Cardenas
Subject: RE: [h-e-w] Starting a second shell
Date: Fri, 21 Dec 2001 14:02:22 -0500

This is what I've been using from my .emacs.  Same thing other people are
saying.

(defun new-shell ()
 "Run shell, but always open another shell and rename the current *shell*
buffer uniquely."
  (interactive)
  (let ((shell-buffer (get-buffer "*shell*")))
      (if shell-buffer 
          (progn (set-buffer shell-buffer) (rename-uniquely) (shell))
        (shell))))

-----Original Message-----
From: Joe Riel [mailto:address@hidden
Sent: Wednesday, December 12, 2001 12:05 PM
To: address@hidden
Subject: [h-e-w] Starting a second shell


How do I start a second shell in NTemacs?  M-x shell brings up an existing
shell.

Joe Riel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]