]> git.eshelyaron.com Git - emacs.git/commitdiff
Make dired-omit-here-always obsolete, in favor of standard function.
authorGlenn Morris <rgm@gnu.org>
Wed, 2 Mar 2011 04:13:57 +0000 (20:13 -0800)
committerGlenn Morris <rgm@gnu.org>
Wed, 2 Mar 2011 04:13:57 +0000 (20:13 -0800)
* 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.

doc/misc/ChangeLog
doc/misc/dired-x.texi
lisp/ChangeLog
lisp/dired-x.el

index 2ce67bad6cb9a94833967914443ef99433814b92..47ae7ee3842066c18dac34275e55f74f77714c4e 100644 (file)
@@ -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
index cde39ff6a629aa1a0098efd818e255a7cf3d41ee..dba99d9c6c7927454dd4c0a67fd3080a44025513 100644 (file)
@@ -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
index a75520f08b7c4594ee61632346647a38fecd16bf..1f1dbf69fe5e498a97d2f9f1397ab92029c0e4ba 100644 (file)
@@ -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.
index 9941c7a0db529bac4b56b919de143f4d995bcb0c..81f77b482897ffca5c1e87e6f997143668273b1d 100644 (file)
@@ -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")
+
 \f
 ;;; GUESS SHELL COMMAND.