diff options
author | Glenn Morris <rgm@gnu.org> | 2011-02-16 00:32:30 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-02-16 00:32:30 -0800 |
commit | da5e0ce4d6e000b1bc493cb20ce0cc9ecb1ba244 (patch) | |
tree | c7c8ffc0f78212cf0cda1676fd9d54e5d7a034b1 /doc/misc/dired-x.texi | |
parent | 1f5d53eb532df40b6c41d25a8b1eaf4ccf69d518 (diff) | |
download | emacs-da5e0ce4d6e000b1bc493cb20ce0cc9ecb1ba244.tar.gz emacs-da5e0ce4d6e000b1bc493cb20ce0cc9ecb1ba244.tar.bz2 emacs-da5e0ce4d6e000b1bc493cb20ce0cc9ecb1ba244.zip |
More dired-x cleanup.
* lisp/dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
Doc fixes. Add :set property, replacing top-level calls.
(dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
(dired-guess-shell-gnutar): Test tar version rather than system-type.
(dired-extra-startup, dired-man, dired-info): Doc fixes.
(dired-clean-up-after-deletion): Use when and dolist.
(dired-jump): Use unless and when.
(dired-virtual): Use line-end-position.
(dired-default-directory-alist): Rename from default-directory-alist.
(dired-default-directory): Update for above name change.
(dired-vm): Drop VM < 5 and simplify.
(dired-buffer-more-recently-used-p): Rewrite.
(dired-filename-at-point): Use when and or.
(dired-x-read-filename-at-point): Rename from read-filename-at-point.
Update callers.
* doc/misc/dired-x.texi (Multiple Dired Directories): Update for rename of
default-directory-alist.
(Miscellaneous Commands): No longer mention very old VM version 4.
Diffstat (limited to 'doc/misc/dired-x.texi')
-rw-r--r-- | doc/misc/dired-x.texi | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/doc/misc/dired-x.texi b/doc/misc/dired-x.texi index 9ae569c151c..a1e7e0ae9fc 100644 --- a/doc/misc/dired-x.texi +++ b/doc/misc/dired-x.texi @@ -978,8 +978,8 @@ A general mechanism is provided for special handling of the working directory in special major modes: @table @code -@item default-directory-alist -@vindex default-directory-alist +@item dired-default-directory-alist +@vindex dired-default-directory-alist Default: @code{((dired-mode . (dired-current-directory)))} Alist of major modes and their notion of @code{default-directory}, as a @@ -990,7 +990,7 @@ in favor of @code{default-directory}. @findex dired-default-directory Use this function like you would use the variable @code{default-directory}, except that @code{dired-default-directory} -also consults the variable @code{default-directory-alist}. +also consults the variable @code{dired-default-directory-alist}. @end table @node Find File At Point, Miscellaneous Commands, Multiple Dired Directories, Top @@ -1141,13 +1141,12 @@ file (assumed to be a UNIX mail folder). @vindex dired-vm-read-only-folders If you give this command a prefix argument, it will visit the folder -read-only. This only works in VM 5, not VM 4. +read-only. If the variable @code{dired-vm-read-only-folders} is @code{t}, -@code{dired-vm} will -visit all folders read-only. If it is neither @code{nil} nor @code{t}, e.g., -the symbol @code{if-file-read-only}, only files not writable by you are -visited read-only. This is the recommended value if you run VM 5. +@code{dired-vm} will visit all folders read-only. If it is neither +@code{nil} nor @code{t}, e.g., the symbol @code{if-file-read-only}, only +files not writable by you are visited read-only. @vindex dired-bind-vm If the variable @code{dired-bind-vm} is @code{t}, @code{dired-vm} will be bound |