diff options
| author | Juri Linkov | 2012-10-04 21:30:08 +0300 |
|---|---|---|
| committer | Juri Linkov | 2012-10-04 21:30:08 +0300 |
| commit | 93cacb6d08689703ff59d4bf720ce5ec21a62062 (patch) | |
| tree | 6094c06e699e2bc4aeb806ae2260dde95cef2d5a | |
| parent | fc345011a69cd7e3d38d1b6e06f85ef9d7658232 (diff) | |
| download | emacs-93cacb6d08689703ff59d4bf720ce5ec21a62062.tar.gz emacs-93cacb6d08689703ff59d4bf720ce5ec21a62062.zip | |
* lisp/dired.el (dired-shrink-to-fit): Declare obsolete.
(dired-pop-to-buffer): Declare obsolete.
(dired-mark-pop-up): Doc fix.
Fixes: debbugs:1806
| -rw-r--r-- | etc/NEWS | 2 | ||||
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/dired.el | 11 |
3 files changed, 19 insertions, 2 deletions
| @@ -792,6 +792,7 @@ in Emacs 24.1: | |||
| 792 | **** `special-display-buffer-names' | 792 | **** `special-display-buffer-names' |
| 793 | **** `special-display-function' | 793 | **** `special-display-function' |
| 794 | **** `display-buffer-function' | 794 | **** `display-buffer-function' |
| 795 | **** `dired-shrink-to-fit' | ||
| 795 | 796 | ||
| 796 | ** Time | 797 | ** Time |
| 797 | --- | 798 | --- |
| @@ -856,6 +857,7 @@ See the "Face Attributes" section of the Elisp manual. | |||
| 856 | *** `buffer-has-markers-at' | 857 | *** `buffer-has-markers-at' |
| 857 | *** `macro-declaration-function' (use `macro-declarations-alist'). | 858 | *** `macro-declaration-function' (use `macro-declarations-alist'). |
| 858 | *** `window-system-version' | 859 | *** `window-system-version' |
| 860 | *** `dired-pop-to-buffer' (use `dired-mark-pop-up') | ||
| 859 | 861 | ||
| 860 | 862 | ||
| 861 | * Changes in Emacs 24.3 on non-free operating systems | 863 | * Changes in Emacs 24.3 on non-free operating systems |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a29ca51033d..160bcbd45c5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-10-04 Juri Linkov <juri@jurta.org> | ||
| 2 | |||
| 3 | * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806) | ||
| 4 | (dired-pop-to-buffer): Declare obsolete. | ||
| 5 | (dired-mark-pop-up): Doc fix. | ||
| 6 | |||
| 1 | 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca> | 7 | 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca> |
| 2 | 8 | ||
| 3 | Allow user to set docstring style for fill-paragraph. | 9 | Allow user to set docstring style for fill-paragraph. |
| @@ -347,7 +353,7 @@ | |||
| 347 | 2012-09-30 Juri Linkov <juri@jurta.org> | 353 | 2012-09-30 Juri Linkov <juri@jurta.org> |
| 348 | 354 | ||
| 349 | * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename' | 355 | * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename' |
| 350 | to nil around the call to `add-text-properties' to prevent | 356 | to nil around the call to `insert' to prevent |
| 351 | directory time modification by lock_file. (Bug#2295) | 357 | directory time modification by lock_file. (Bug#2295) |
| 352 | * tar-mode.el (tar-summarize-buffer): Idem. | 358 | * tar-mode.el (tar-summarize-buffer): Idem. |
| 353 | 359 | ||
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.") | |||
| 248 | ;; I see no reason ever to make this nil -- rms. | 248 | ;; I see no reason ever to make this nil -- rms. |
| 249 | ;; (> baud-rate search-slow-speed) | 249 | ;; (> baud-rate search-slow-speed) |
| 250 | "Non-nil means Dired shrinks the display buffer to fit the marked files.") | 250 | "Non-nil means Dired shrinks the display buffer to fit the marked files.") |
| 251 | (make-obsolete-variable 'dired-shrink-to-fit | ||
| 252 | "use the Customization interface to add a new rule | ||
| 253 | to `display-buffer-alist' where condition regexp is \"^ \\*Marked Files\\*$\", | ||
| 254 | action argument symbol is `window-height' and its value is nil." "24.3") | ||
| 251 | 255 | ||
| 252 | (defvar dired-file-version-alist) | 256 | (defvar dired-file-version-alist) |
| 253 | 257 | ||
| @@ -1877,7 +1881,6 @@ for more info): | |||
| 1877 | 1881 | ||
| 1878 | `dired-listing-switches' | 1882 | `dired-listing-switches' |
| 1879 | `dired-trivial-filenames' | 1883 | `dired-trivial-filenames' |
| 1880 | `dired-shrink-to-fit' | ||
| 1881 | `dired-marker-char' | 1884 | `dired-marker-char' |
| 1882 | `dired-del-marker' | 1885 | `dired-del-marker' |
| 1883 | `dired-keep-marker-rename' | 1886 | `dired-keep-marker-rename' |
| @@ -2940,6 +2943,7 @@ or \"* [3 files]\"." | |||
| 2940 | 2943 | ||
| 2941 | (defun dired-pop-to-buffer (buf) | 2944 | (defun dired-pop-to-buffer (buf) |
| 2942 | "Pop up buffer BUF in a way suitable for Dired." | 2945 | "Pop up buffer BUF in a way suitable for Dired." |
| 2946 | (declare (obsolete dired-mark-pop-up "24.3")) | ||
| 2943 | (let ((split-window-preferred-function | 2947 | (let ((split-window-preferred-function |
| 2944 | (lambda (window) | 2948 | (lambda (window) |
| 2945 | (or (and (let ((split-height-threshold 0)) | 2949 | (or (and (let ((split-height-threshold 0)) |
| @@ -2981,6 +2985,11 @@ BUFFER-OR-NAME; the default name being \" *Marked Files*\". The | |||
| 2981 | window is not shown if there is just one file, `dired-no-confirm' | 2985 | window is not shown if there is just one file, `dired-no-confirm' |
| 2982 | is t, or OP-SYMBOL is a member of the list in `dired-no-confirm'. | 2986 | is t, or OP-SYMBOL is a member of the list in `dired-no-confirm'. |
| 2983 | 2987 | ||
| 2988 | By default, Dired shrinks the display buffer to fit the marked files. | ||
| 2989 | To disable this, use the Customization interface to add a new rule | ||
| 2990 | to `display-buffer-alist' where condition regexp is \"^ \\*Marked Files\\*$\", | ||
| 2991 | action argument symbol is `window-height' and its value is nil. | ||
| 2992 | |||
| 2984 | FILES is the list of marked files. It can also be (t FILENAME) | 2993 | FILES is the list of marked files. It can also be (t FILENAME) |
| 2985 | in the case of one marked file, to distinguish that from using | 2994 | in the case of one marked file, to distinguish that from using |
| 2986 | just the current file. | 2995 | just the current file. |