Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs startup warning

Tags:

emacs

macos

I am using Emacs for Mac OS X 24.2. Once the emacs was stuck and then I kill the process, but when I reopened it, some warnings were showed below:

warning: desktop file appears to be in use by PID 200.
Using it may cause conflicts. Use it anyway? (y or n)

From then on the message shows every time when I open Emacs, so what we should do to fix it? I am really annoyed for that. By the way, my os is Mac OS X 10.7.5

like image 405
Gizak Avatar asked Dec 22 '12 18:12

Gizak


1 Answers

It often happens when your emacs exited accidentally last time. You can try this:

Find and delete this file: .emacs.desktop.lock. (This is the value of desktop-base-lock-name and can be customized.) It is located in your user-emacs-directory, usually .emacs.d in your home directory.

like image 58
Saddle Point Avatar answered Sep 25 '22 19:09

Saddle Point