Make dired-omit-here-always obsolete, in favor of standard function.
* lisp/dired-x.el (dired-omit-here-always): Make it obsolete. * doc/misc/dired-x.texi (Omitting Variables): Refer to add-dir-local-variable instead of the obsoleted dired-omit-here-always.
This commit is contained in:
parent
d77aaf6f83
commit
8889f4e2c3
4 changed files with 14 additions and 12 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-03-02 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* dired-x.texi (Omitting Variables): Refer to add-dir-local-variable
|
||||
instead of the obsoleted dired-omit-here-always.
|
||||
|
||||
2011-02-28 Michael Albinus <michael.albinus@gmx.de>
|
||||
|
||||
* tramp.texi (Frequently Asked Questions): Add Emacs 24 to
|
||||
|
|
|
@ -345,17 +345,8 @@ a directory local setting
|
|||
@end example
|
||||
|
||||
@noindent
|
||||
to a @file{.dir-locals.el} file in that directory.
|
||||
|
||||
@table @code
|
||||
@findex dired-omit-here-always
|
||||
@item dired-omit-here-always
|
||||
|
||||
This is an interactive function that creates a local variables file exactly
|
||||
like the example above (if it does not already exist) in the
|
||||
@code{dir-locals-file} file in the current directory and then refreshes
|
||||
the directory listing.
|
||||
@end table
|
||||
to a @file{.dir-locals.el} file in that directory. You can use the
|
||||
command @code{add-dir-local-variable} to do this.
|
||||
|
||||
@vindex dired-omit-files
|
||||
@item dired-omit-files
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2011-03-02 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* dired-x.el (dired-omit-here-always): Make it obsolete.
|
||||
|
||||
2011-03-02 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* textmodes/artist.el (artist-curr-go): Default to pen-line.
|
||||
|
|
|
@ -785,7 +785,7 @@ See also `dired-enable-local-variables'."
|
|||
(make-obsolete 'dired-hack-local-variables
|
||||
'hack-dir-local-variables-non-file-buffer "24.1")
|
||||
|
||||
;; Not sure this is worth having a dedicated command for...
|
||||
;; Does not seem worth a dedicated command.
|
||||
;; See the more general features in files-x.el.
|
||||
(defun dired-omit-here-always ()
|
||||
"Create `dir-locals-file' setting `dired-omit-mode' to t in `dired-mode'.
|
||||
|
@ -809,6 +809,8 @@ replace it with a dir-locals-file `./%s'"
|
|||
(dired-extra-startup)
|
||||
(dired-revert))))
|
||||
|
||||
(make-obsolete 'dired-omit-here-always 'add-dir-local-variable "24.1")
|
||||
|
||||
|
||||
;;; GUESS SHELL COMMAND.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue