[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 100% CPU usage on emacs startup
From: |
Steinar Bang |
Subject: |
Re: 100% CPU usage on emacs startup |
Date: |
Wed, 06 Feb 2019 20:10:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (windows-nt) |
>>>>> Steinar Bang <sb@dod.no>:
>>>>> Eli Zaretskii <eliz@gnu.org>:
>>> Is there a simple way to exclude these files from emacs.desktop
>>> restore, I wonder...?
>> There are the user options desktop-buffers-not-to-save and
>> desktop-files-not-to-save.
> Thanks! I've tried adjusting desktop-files-not-to-save to
> "\\(^/[^/:]*:\\|(ftp)$\\|^/tmp\\)"
> I'll report back how this works out.
Adding all files under /tmp to desktop-files-not-to-save seems to work:
startup times are reasonable and the /tmp files are not saved to
.emacs.desktop