From 9bb10cbdc59486c2131cea9b5399e9cbdc0418ab Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Sun, 28 Dec 2014 02:52:50 +0200 Subject: [PATCH] Avoid compilation warning in saveplace.el for dired-current-directory --- lisp/saveplace.el | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2