Special Marking Function
Top
Find File At Point
An Emacs buffer can have but one working directory, stored in the
buffer-local variable default-directory
. A Dired buffer may have
several subdirectories inserted, but still has but one working
directory: that of the top level Dired directory in that buffer. For
some commands it is appropriate that they use the current Dired
directory instead of default-directory
, e.g., find-file
and
compile
.
A general mechanism is provided for special handling of the working directory in special major modes:
default-directory-alist
|
Default:
Alist of major modes and their opinion on |
default-directory
|
Function with usage like variable |