summaryrefslogtreecommitdiff
path: root/lisp/dired.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2012-10-04 21:30:08 +0300
committerJuri Linkov <juri@jurta.org>2012-10-04 21:30:08 +0300
commit93cacb6d08689703ff59d4bf720ce5ec21a62062 (patch)
tree6094c06e699e2bc4aeb806ae2260dde95cef2d5a /lisp/dired.el
parentfc345011a69cd7e3d38d1b6e06f85ef9d7658232 (diff)
downloademacs-93cacb6d08689703ff59d4bf720ce5ec21a62062.tar.gz
* lisp/dired.el (dired-shrink-to-fit): Declare obsolete.
(dired-pop-to-buffer): Declare obsolete. (dired-mark-pop-up): Doc fix. Fixes: debbugs:1806
Diffstat (limited to 'lisp/dired.el')
-rw-r--r--lisp/dired.el11
1 files changed, 10 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index 8cb3902161a..a17e1805339 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -248,6 +248,10 @@ This is what the do-commands look for, and what the mark-commands store.")
;; I see no reason ever to make this nil -- rms.
;; (> baud-rate search-slow-speed)
"Non-nil means Dired shrinks the display buffer to fit the marked files.")
+(make-obsolete-variable 'dired-shrink-to-fit
+ "use the Customization interface to add a new rule
+to `display-buffer-alist' where condition regexp is \"^ \\*Marked Files\\*$\",
+action argument symbol is `window-height' and its value is nil." "24.3")
(defvar dired-file-version-alist)
@@ -1877,7 +1881,6 @@ for more info):
`dired-listing-switches'
`dired-trivial-filenames'
- `dired-shrink-to-fit'
`dired-marker-char'
`dired-del-marker'
`dired-keep-marker-rename'
@@ -2940,6 +2943,7 @@ or \"* [3 files]\"."
(defun dired-pop-to-buffer (buf)
"Pop up buffer BUF in a way suitable for Dired."
+ (declare (obsolete dired-mark-pop-up "24.3"))
(let ((split-window-preferred-function
(lambda (window)
(or (and (let ((split-height-threshold 0))
@@ -2981,6 +2985,11 @@ BUFFER-OR-NAME; the default name being \" *Marked Files*\". The
window is not shown if there is just one file, `dired-no-confirm'
is t, or OP-SYMBOL is a member of the list in `dired-no-confirm'.
+By default, Dired shrinks the display buffer to fit the marked files.
+To disable this, use the Customization interface to add a new rule
+to `display-buffer-alist' where condition regexp is \"^ \\*Marked Files\\*$\",
+action argument symbol is `window-height' and its value is nil.
+
FILES is the list of marked files. It can also be (t FILENAME)
in the case of one marked file, to distinguish that from using
just the current file.