diff options
| author | Tino Calancha | 2017-07-21 13:32:48 +0900 |
|---|---|---|
| committer | Tino Calancha | 2017-07-21 13:32:48 +0900 |
| commit | 1d559e384b467b3f74e8b78695f124b561c884d9 (patch) | |
| tree | 004b3d906159213f7f0dd8bf8fdb785dcbf68ab2 /test | |
| parent | 76268499ddde14f84426ddf84d4997bf8dfb5b65 (diff) | |
| download | emacs-1d559e384b467b3f74e8b78695f124b561c884d9.tar.gz emacs-1d559e384b467b3f74e8b78695f124b561c884d9.zip | |
dired: Revert buffer when DIRNAME is a cons
* lisp/dired.el (dired-internal-noselect): Revert buffer if DIR-OR-LIST
is a cons, or dired-directory is a cons and DIR-OR-LIST a string (Bug#7131).
Update the comments.
* test/lisp/dired-tests.el (dired-test-bug7131): Test should pass.
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/dired-tests.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/lisp/dired-tests.el b/test/lisp/dired-tests.el index 791ba07fb67..bd1816172e7 100644 --- a/test/lisp/dired-tests.el +++ b/test/lisp/dired-tests.el | |||
| @@ -131,7 +131,6 @@ | |||
| 131 | 131 | ||
| 132 | (ert-deftest dired-test-bug7131 () | 132 | (ert-deftest dired-test-bug7131 () |
| 133 | "Test for http://debbugs.gnu.org/7131 ." | 133 | "Test for http://debbugs.gnu.org/7131 ." |
| 134 | :expected-result :failed | ||
| 135 | (let* ((dir (expand-file-name "lisp" source-directory)) | 134 | (let* ((dir (expand-file-name "lisp" source-directory)) |
| 136 | (buf (dired dir))) | 135 | (buf (dired dir))) |
| 137 | (unwind-protect | 136 | (unwind-protect |