aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2011-03-01 20:13:57 -0800
committerGlenn Morris2011-03-01 20:13:57 -0800
commit8889f4e2c332b0ecedc9e6088252f4cbae301236 (patch)
tree43fe75fe9c9c0b9bcea96fc7a0780a52406c89ff /lisp
parentd77aaf6f83896eef355c71b5596c6806528f595e (diff)
downloademacs-8889f4e2c332b0ecedc9e6088252f4cbae301236.tar.gz
emacs-8889f4e2c332b0ecedc9e6088252f4cbae301236.zip
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.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/dired-x.el4
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a75520f08b7..1f1dbf69fe5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12011-03-02 Glenn Morris <rgm@gnu.org>
2
3 * dired-x.el (dired-omit-here-always): Make it obsolete.
4
12011-03-02 Chong Yidong <cyd@stupidchicken.com> 52011-03-02 Chong Yidong <cyd@stupidchicken.com>
2 6
3 * textmodes/artist.el (artist-curr-go): Default to pen-line. 7 * textmodes/artist.el (artist-curr-go): Default to pen-line.
diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index 9941c7a0db5..81f77b48289 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -785,7 +785,7 @@ See also `dired-enable-local-variables'."
785(make-obsolete 'dired-hack-local-variables 785(make-obsolete 'dired-hack-local-variables
786 'hack-dir-local-variables-non-file-buffer "24.1") 786 'hack-dir-local-variables-non-file-buffer "24.1")
787 787
788;; Not sure this is worth having a dedicated command for... 788;; Does not seem worth a dedicated command.
789;; See the more general features in files-x.el. 789;; See the more general features in files-x.el.
790(defun dired-omit-here-always () 790(defun dired-omit-here-always ()
791 "Create `dir-locals-file' setting `dired-omit-mode' to t in `dired-mode'. 791 "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'"
809 (dired-extra-startup) 809 (dired-extra-startup)
810 (dired-revert)))) 810 (dired-revert))))
811 811
812(make-obsolete 'dired-omit-here-always 'add-dir-local-variable "24.1")
813
812 814
813;;; GUESS SHELL COMMAND. 815;;; GUESS SHELL COMMAND.
814 816