prohibit the launching of two emacs [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this questionWhen you double click on a file opens a new window emacs. Tell me how to do to open in the same
I beg your pardon, Linux OS
I installed emacs23 Then i run the command: emacs --daemon && emacsclien -c && emacsclien -c And i have opened 2 windows instead of one
You don't provide enough information, such as what OS/windowing system you're using, but the answer involves using emacsclient. The wiki page has all the details of using emacsclient, though not how to set up your OS/windowing system to associate the file types with emacsclient (instead of emacs).
You have a single Emacs instance with two windows. You have two windows because you explicitly asked for them by passing the -c
option to emacsclient
.
精彩评论