1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-17 17:42:26 +00:00

* lisp/dired.el (dired-shrink-to-fit): Declare obsolete.

(dired-pop-to-buffer): Declare obsolete.
(dired-mark-pop-up): Doc fix.

Fixes: debbugs:1806
This commit is contained in:
Juri Linkov 2012-10-04 21:30:08 +03:00
parent fc345011a6
commit 93cacb6d08
3 changed files with 19 additions and 2 deletions

View File

@ -792,6 +792,7 @@ in Emacs 24.1:
**** `special-display-buffer-names'
**** `special-display-function'
**** `display-buffer-function'
**** `dired-shrink-to-fit'
** Time
---
@ -856,6 +857,7 @@ See the "Face Attributes" section of the Elisp manual.
*** `buffer-has-markers-at'
*** `macro-declaration-function' (use `macro-declarations-alist').
*** `window-system-version'
*** `dired-pop-to-buffer' (use `dired-mark-pop-up')
* Changes in Emacs 24.3 on non-free operating systems

View File

@ -1,3 +1,9 @@
2012-10-04 Juri Linkov <juri@jurta.org>
* dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
(dired-pop-to-buffer): Declare obsolete.
(dired-mark-pop-up): Doc fix.
2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
Allow user to set docstring style for fill-paragraph.
@ -347,7 +353,7 @@
2012-09-30 Juri Linkov <juri@jurta.org>
* arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
to nil around the call to `add-text-properties' to prevent
to nil around the call to `insert' to prevent
directory time modification by lock_file. (Bug#2295)
* tar-mode.el (tar-summarize-buffer): Idem.

View File

@ -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.