diff options
author | Juri Linkov <juri@linkov.net> | 2014-12-28 02:52:50 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2014-12-28 02:52:50 +0200 |
commit | 9bb10cbdc59486c2131cea9b5399e9cbdc0418ab (patch) | |
tree | 6cca2143af3395062c70836862badf756c1f919b /lisp/saveplace.el | |
parent | d143df5a4ecff352470f09019364310ec8e2202b (diff) | |
download | emacs-9bb10cbdc59486c2131cea9b5399e9cbdc0418ab.tar.gz |
Avoid compilation warning in saveplace.el for dired-current-directory
Diffstat (limited to 'lisp/saveplace.el')
-rw-r--r-- | lisp/saveplace.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/saveplace.el b/lisp/saveplace.el index 18e34cfcaa3..985a52a0fc0 100644 --- a/lisp/saveplace.el +++ b/lisp/saveplace.el @@ -138,6 +138,8 @@ disabled, i.e., the position is recorded for all files." :version "24.1" :type 'regexp :group 'save-place) +(declare-function dired-current-directory "dired" (&optional localp)) + (defun toggle-save-place (&optional parg) "Toggle whether to save your place in this file between sessions. If this mode is enabled, point is recorded when you kill the buffer |