diff options
| author | Michael Albinus | 2018-05-14 17:06:33 +0200 |
|---|---|---|
| committer | Michael Albinus | 2018-05-14 17:06:33 +0200 |
| commit | b01e6dd7b202fd9fbed8f1afa6cb6065ed85ff66 (patch) | |
| tree | 8dc0a816cfbc31c13239ed63eb2c8512f874fc1b /doc | |
| parent | 15fa8de1ae3228413fde95e583008d9b9f19e7c7 (diff) | |
| download | emacs-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.texi | 72 |
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 | |||
| 478 | call @code{dired-extra-startup}, which in turn calls @code{dired-omit-startup} | 477 | call @code{dired-extra-startup}, which in turn calls @code{dired-omit-startup} |
| 479 | in your @code{dired-mode-hook}. | 478 | in 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 | ||
| 488 | This Dired-X feature is obsolete as of Emacs 24.1. The standard Emacs | ||
| 489 | directory local variables mechanism (@pxref{Directory | ||
| 490 | Variables,,,emacs,The GNU Emacs manual}) replaces it. For an example of | ||
| 491 | the new mechanisms, @pxref{Omitting Variables}. | ||
| 492 | |||
| 493 | When Dired visits a directory, it looks for a file whose name is the | ||
| 494 | value of variable @code{dired-local-variables-file} (default: @file{.dired}). | ||
| 495 | If such a file is found, Dired will temporarily insert it into the Dired | ||
| 496 | buffer and run @code{hack-local-variables}. | ||
| 497 | |||
| 498 | @noindent | ||
| 499 | For example, if the user puts | ||
| 500 | |||
| 501 | @example | ||
| 502 | Local Variables: | ||
| 503 | dired-actual-switches: "-lat" | ||
| 504 | dired-omit-mode: t | ||
| 505 | End: | ||
| 506 | @end example | ||
| 507 | |||
| 508 | @noindent | ||
| 509 | into a file called @file{.dired} in a directory then when that directory is | ||
| 510 | viewed it will be | ||
| 511 | |||
| 512 | @enumerate | ||
| 513 | @item | ||
| 514 | sorted by date | ||
| 515 | @item | ||
| 516 | omitted automatically | ||
| 517 | @end enumerate | ||
| 518 | |||
| 519 | @noindent | ||
| 520 | You can set @code{dired-local-variables-file} to @code{nil} to suppress this. | ||
| 521 | The value of @code{dired-enable-local-variables} controls if and how these | ||
| 522 | local variables are read. This variable exists so that it may override the | ||
| 523 | default value of @code{enable-local-variables}. | ||
| 524 | |||
| 525 | @noindent | ||
| 526 | Please see the GNU Emacs Manual to learn more about local variables. | ||
| 527 | @xref{File Variables,Local Variables in Files,Local Variables in | ||
| 528 | Files,emacs,The GNU Emacs Manual}. | ||
| 529 | |||
| 530 | @noindent | ||
| 531 | The following variables affect Dired Local Variables | ||
| 532 | |||
| 533 | @table @code | ||
| 534 | @vindex dired-local-variables-file | ||
| 535 | @item dired-local-variables-file | ||
| 536 | Default: @code{".dired"} | ||
| 537 | |||
| 538 | If non-@code{nil}, file name for local variables for Dired. If Dired finds a | ||
| 539 | file with that name in the current directory, it will temporarily insert it | ||
| 540 | into the Dired buffer and run @code{hack-local-variables}. | ||
| 541 | |||
| 542 | @vindex dired-enable-local-variables | ||
| 543 | @item dired-enable-local-variables | ||
| 544 | Default: @code{t} | ||
| 545 | |||
| 546 | Controls the use of local-variables lists in Dired. This variable | ||
| 547 | temporarily overrides the value of @code{enable-local-variables} when | ||
| 548 | the Dired Local Variables are hacked. It takes the same values as that | ||
| 549 | variable. 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. |