I have the following function defined in emacs –
(defun web2py-server ()
(interactive)
(shell-command "cd /opt/web2py; python /opt/web2py/web2py.py &"))
The above creates a new buffer in emacs, how do set a name “abc” for the window.
Thanks,
Murtaza
Use
shell-command‘s second parameter,OUPTUT-BUFFER, for that: