Skip to main content

Questions tagged [directory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5 votes
2 answers
2k views

Set a global default directory

I want a "default directory" which is constant across all contexts (buffers, packages, etc). That is, when working on multiple files, opening a new terminal, doing anything which requires a starting ...
Lorem Ipsum's user avatar
  • 4,547
3 votes
1 answer
631 views

Set default-directory relative to the place an Elisp function is defined

I have some custom elisp functions that need to run shell scripts using shell-command. I would like to use a relative path to the script, e.g.: (shell-command "./run.sh") rather than an absolute one:...
elethan's user avatar
  • 4,875
0 votes
3 answers
68 views

After package installation, why Emacs kept retrieving an error message on "Creating directory: Operation not supported" subsequent to normal behavior?

I was using this init file on a NixOS machine. It is important to note that parts of the file were written with use-package and other parts were a legacy from the classic imperative installation of ...
Pedro Delfino's user avatar