dired: Revert buffer when DIRNAME is a cons
commit1d559e384b467b3f74e8b78695f124b561c884d9
authorTino Calancha <tino.calancha@gmail.com>
Fri, 21 Jul 2017 04:32:48 +0000 (21 13:32 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Fri, 21 Jul 2017 04:32:48 +0000 (21 13:32 +0900)
tree004b3d906159213f7f0dd8bf8fdb785dcbf68ab2
parent76268499ddde14f84426ddf84d4997bf8dfb5b65
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.
lisp/dired.el
test/lisp/dired-tests.el