From: Juri Linkov Date: Sun, 28 Dec 2014 00:52:50 +0000 (+0200) Subject: Avoid compilation warning in saveplace.el for dired-current-directory X-Git-Tag: emacs-25.0.90~2631^2~15^2~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9bb10cbdc59486c2131cea9b5399e9cbdc0418ab;p=emacs.git Avoid compilation warning in saveplace.el for dired-current-directory --- 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