]> code.delx.au - gnu-emacs/commitdiff
Avoid compilation warning in saveplace.el for dired-current-directory
authorJuri Linkov <juri@linkov.net>
Sun, 28 Dec 2014 00:52:50 +0000 (02:52 +0200)
committerJuri Linkov <juri@linkov.net>
Sun, 28 Dec 2014 00:52:50 +0000 (02:52 +0200)
lisp/saveplace.el

index 18e34cfcaa3949d2dd04aeda66490047b0eab043..985a52a0fc03eb45c10c90dc39a9e06783c3b85c 100644 (file)
@@ -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