Commit 93cacb6d authored by Juri Linkov's avatar Juri Linkov
Browse files

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

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

Fixes: debbugs:1806
parent fc345011
...@@ -792,6 +792,7 @@ in Emacs 24.1: ...@@ -792,6 +792,7 @@ in Emacs 24.1:
**** `special-display-buffer-names' **** `special-display-buffer-names'
**** `special-display-function' **** `special-display-function'
**** `display-buffer-function' **** `display-buffer-function'
**** `dired-shrink-to-fit'
** Time ** Time
--- ---
...@@ -856,6 +857,7 @@ See the "Face Attributes" section of the Elisp manual. ...@@ -856,6 +857,7 @@ See the "Face Attributes" section of the Elisp manual.
*** `buffer-has-markers-at' *** `buffer-has-markers-at'
*** `macro-declaration-function' (use `macro-declarations-alist'). *** `macro-declaration-function' (use `macro-declarations-alist').
*** `window-system-version' *** `window-system-version'
*** `dired-pop-to-buffer' (use `dired-mark-pop-up')
* Changes in Emacs 24.3 on non-free operating systems * Changes in Emacs 24.3 on non-free operating systems
......
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> 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
   
Allow user to set docstring style for fill-paragraph. Allow user to set docstring style for fill-paragraph.
...@@ -347,7 +353,7 @@ ...@@ -347,7 +353,7 @@
2012-09-30 Juri Linkov <juri@jurta.org> 2012-09-30 Juri Linkov <juri@jurta.org>
   
* arc-mode.el (archive-summarize): Let-bind `buffer-file-truename' * 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) directory time modification by lock_file. (Bug#2295)
* tar-mode.el (tar-summarize-buffer): Idem. * tar-mode.el (tar-summarize-buffer): Idem.
   
......
...@@ -248,6 +248,10 @@ This is what the do-commands look for, and what the mark-commands store.") ...@@ -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. ;; I see no reason ever to make this nil -- rms.
;; (> baud-rate search-slow-speed) ;; (> baud-rate search-slow-speed)
"Non-nil means Dired shrinks the display buffer to fit the marked files.") "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) (defvar dired-file-version-alist)
...@@ -1877,7 +1881,6 @@ for more info): ...@@ -1877,7 +1881,6 @@ for more info):
`dired-listing-switches' `dired-listing-switches'
`dired-trivial-filenames' `dired-trivial-filenames'
`dired-shrink-to-fit'
`dired-marker-char' `dired-marker-char'
`dired-del-marker' `dired-del-marker'
`dired-keep-marker-rename' `dired-keep-marker-rename'
...@@ -2940,6 +2943,7 @@ or \"* [3 files]\"." ...@@ -2940,6 +2943,7 @@ or \"* [3 files]\"."
(defun dired-pop-to-buffer (buf) (defun dired-pop-to-buffer (buf)
"Pop up buffer BUF in a way suitable for Dired." "Pop up buffer BUF in a way suitable for Dired."
(declare (obsolete dired-mark-pop-up "24.3"))
(let ((split-window-preferred-function (let ((split-window-preferred-function
(lambda (window) (lambda (window)
(or (and (let ((split-height-threshold 0)) (or (and (let ((split-height-threshold 0))
...@@ -2981,6 +2985,11 @@ BUFFER-OR-NAME; the default name being \" *Marked Files*\". The ...@@ -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' 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'. 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) 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 in the case of one marked file, to distinguish that from using
just the current file. just the current file.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment