Skip to main content

New answers tagged

1 vote
Accepted

lexical binding in a tangled init.el file

:lexical t works for evaluating elisp code blocks in an Org file. Your question is different: you want the produced init.el to use lexical binding when it is loaded and that buffer is evaluated. In ...
NickD's user avatar
  • 30.9k
0 votes

How do I set a different location for the dot emacs .emacs file on Windows 7?

A lot of answers mention that you can change the default emacs location by adding/changing the %HOME% environment variables in Windows. It is also recommended in the emacs documentation, but Warning ...
Gangula's user avatar
  • 183
0 votes

How to place all auto-save files in a directory

Its important to note that there are 3 types of backup files that Emacs creates: 1. Backup Files By default Emacs saves BackupFiles under the original name with a tilde `~’ appended. You can disable ...
Gangula's user avatar
  • 183
0 votes
Accepted

How can I call a self defined function on Emacs startup?

The problem is not that you define your own function and call it. The problem is that the splash screen is shown last and so the buffer that displays the home directory is hidden. Try: (setq inhibit-...
NickD's user avatar
  • 30.9k
0 votes

emacs initialisation files

man emacs has --init-directory=directory Start emacs with user-emacs-directory set to directory. This question says it is available in Emacs 29+. Does this help?
scribe's user avatar
  • 1,035

Top 50 recent answers are included