Support subdirectories when saving places in dired.
commitd51459246bf54316f3a22694bf9eda0bfcc18a6a
authorJuri Linkov <juri@linkov.net>
Sat, 27 Dec 2014 00:38:34 +0000 (27 02:38 +0200)
committerJuri Linkov <juri@linkov.net>
Sat, 27 Dec 2014 00:38:34 +0000 (27 02:38 +0200)
treeaae8fcd021f26acbf05164f7707da3f6037af012
parentc5ac00f08cd0d54848e6cbc02565836e1a423c19
Support subdirectories when saving places in dired.

* lisp/saveplace.el (toggle-save-place, save-place-to-alist)
(save-places-to-alist, save-place-dired-hook):
Use dired-current-directory instead of dired-directory.
(save-place-dired-hook): Add check for alist to make the new
format future-proof to allow other possible formats.

Fixes: debbugs:19436
lisp/ChangeLog
lisp/saveplace.el