question: how to modify the *tmp*
buffer to /tmp
directory instead of home directory.
#1585
-
The |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello, this buffer is named the "primordial" buffer.
AFAIK its directory is set to the current working directory (function I don't think of a one-liner to change this right now but maybe look at (defun primordial-buffer ()
(make-buffer +primordial-buffer-name+)) and call make-buffer early in your init file, and use its Or start Lem from /tmp. |
Beta Was this translation helpful? Give feedback.
Hello, this buffer is named the "primordial" buffer.
AFAIK its directory is set to the current working directory (function
buffer-directory
in buffer.lisp), so if you start Lem from home it's going to be set to home.I don't think of a one-liner to change this right now but maybe look at
and call make-buffer early in your init file, and use its
:directory
key argument. If a buffer of that name already exists, the above function will reuse it.Or start Lem from /tmp.