Save and restore dired buffer's point positions too. (Bug#4880)
authorJuri Linkov <juri@jurta.org>
Sat, 5 Dec 2009 23:22:03 +0000 (23:22 +0000)
committerJuri Linkov <juri@jurta.org>
Sat, 5 Dec 2009 23:22:03 +0000 (23:22 +0000)
commit065543e754725e54e7b24add15ae7fd28afd6262
treeaf5b238663d7ee3942a42acf0cbe95571fc168aa
parent426ac9499e082e4ab83a18639fd45b720584f347
Save and restore dired buffer's point positions too.  (Bug#4880)

(dired-save-positions): Return in the first element
buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
Doc fix.
(dired-restore-positions): First restore buffer's position.
While restoring window's positions, check if window still displays
the original buffer.
lisp/ChangeLog
lisp/dired.el