aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Albinus2018-05-14 17:06:33 +0200
committerMichael Albinus2018-05-14 17:06:33 +0200
commitb01e6dd7b202fd9fbed8f1afa6cb6065ed85ff66 (patch)
tree8dc0a816cfbc31c13239ed63eb2c8512f874fc1b /doc
parent15fa8de1ae3228413fde95e583008d9b9f19e7c7 (diff)
downloademacs-b01e6dd7b202fd9fbed8f1afa6cb6065ed85ff66.tar.gz
emacs-b01e6dd7b202fd9fbed8f1afa6cb6065ed85ff66.zip
Remove obsolete objects from dired-x.el
* doc/misc/dired-x.texi (Local Variables): Remove node. * lisp/dired-x.el (dired-enable-local-variables) (default-directory-alist, dired-default-directory-alist) (dired-default-directory, dired-local-variables-file) (dired-hack-local-variables, dired-omit-here-always): Remove obsolete variables, constants and functions.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/dired-x.texi72
1 files changed, 0 insertions, 72 deletions
diff --git a/doc/misc/dired-x.texi b/doc/misc/dired-x.texi
index a502667ab83..36179200f4e 100644
--- a/doc/misc/dired-x.texi
+++ b/doc/misc/dired-x.texi
@@ -92,7 +92,6 @@ For @file{dired-x.el} as distributed with GNU Emacs @value{EMACSVER}.
92* Introduction:: 92* Introduction::
93* Installation:: 93* Installation::
94* Omitting Files in Dired:: 94* Omitting Files in Dired::
95* Local Variables::
96* Shell Command Guessing:: 95* Shell Command Guessing::
97* Virtual Dired:: 96* Virtual Dired::
98* Advanced Mark Commands:: 97* Advanced Mark Commands::
@@ -478,77 +477,6 @@ Loading @file{dired-x.el} will install Dired Omit by putting
478call @code{dired-extra-startup}, which in turn calls @code{dired-omit-startup} 477call @code{dired-extra-startup}, which in turn calls @code{dired-omit-startup}
479in your @code{dired-mode-hook}. 478in your @code{dired-mode-hook}.
480 479
481@node Local Variables
482@chapter Local Variables for Dired Directories
483
484@cindex Local Variables for Dired Directories
485@vindex dired-local-variables-file
486@vindex dired-enable-local-variables
487@noindent
488This Dired-X feature is obsolete as of Emacs 24.1. The standard Emacs
489directory local variables mechanism (@pxref{Directory
490Variables,,,emacs,The GNU Emacs manual}) replaces it. For an example of
491the new mechanisms, @pxref{Omitting Variables}.
492
493When Dired visits a directory, it looks for a file whose name is the
494value of variable @code{dired-local-variables-file} (default: @file{.dired}).
495If such a file is found, Dired will temporarily insert it into the Dired
496buffer and run @code{hack-local-variables}.
497
498@noindent
499For example, if the user puts
500
501@example
502Local Variables:
503dired-actual-switches: "-lat"
504dired-omit-mode: t
505End:
506@end example
507
508@noindent
509into a file called @file{.dired} in a directory then when that directory is
510viewed it will be
511
512@enumerate
513@item
514sorted by date
515@item
516omitted automatically
517@end enumerate
518
519@noindent
520You can set @code{dired-local-variables-file} to @code{nil} to suppress this.
521The value of @code{dired-enable-local-variables} controls if and how these
522local variables are read. This variable exists so that it may override the
523default value of @code{enable-local-variables}.
524
525@noindent
526Please see the GNU Emacs Manual to learn more about local variables.
527@xref{File Variables,Local Variables in Files,Local Variables in
528Files,emacs,The GNU Emacs Manual}.
529
530@noindent
531The following variables affect Dired Local Variables
532
533@table @code
534@vindex dired-local-variables-file
535@item dired-local-variables-file
536Default: @code{".dired"}
537
538If non-@code{nil}, file name for local variables for Dired. If Dired finds a
539file with that name in the current directory, it will temporarily insert it
540into the Dired buffer and run @code{hack-local-variables}.
541
542@vindex dired-enable-local-variables
543@item dired-enable-local-variables
544Default: @code{t}
545
546Controls the use of local-variables lists in Dired. This variable
547temporarily overrides the value of @code{enable-local-variables} when
548the Dired Local Variables are hacked. It takes the same values as that
549variable. A value of @code{nil} means to ignore any Dired Local Variables.
550@end table
551
552@node Shell Command Guessing 480@node Shell Command Guessing
553@chapter Shell Command Guessing 481@chapter Shell Command Guessing
554@cindex Guessing shell commands for files. 482@cindex Guessing shell commands for files.