Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 38105
0 votes
1 answer
89 views

Why does eval-buffer on init.el kill a buffer?

I tried running M-x eval-buffer to reload my init.el, which looks like this (point was at top, most irrelevant commented-out sections trimmed): (global-set-key (kbd "C-c l") #'org-store-link) (global-set-key … How am I actually supposed to just do a simple reload of minor changes, if eval-buffer is so wildly dangerous? @whitetrillium suggested setting a breakpoint. …
Nathan Tuggy's user avatar
1 vote
Accepted

Why does eval-buffer on init.el kill a buffer?

The problematic line is this: (desktop-change-dir "~/.emacs.d/desktop") This forces a reload of buffers because it saves the desktop and reloads it, even though all that's desired is to set the defau …
Nathan Tuggy's user avatar