aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2014-12-28 02:52:50 +0200
committerJuri Linkov2014-12-28 02:52:50 +0200
commit9bb10cbdc59486c2131cea9b5399e9cbdc0418ab (patch)
tree6cca2143af3395062c70836862badf756c1f919b
parentd143df5a4ecff352470f09019364310ec8e2202b (diff)
downloademacs-9bb10cbdc59486c2131cea9b5399e9cbdc0418ab.tar.gz
emacs-9bb10cbdc59486c2131cea9b5399e9cbdc0418ab.zip
Avoid compilation warning in saveplace.el for dired-current-directory
-rw-r--r--lisp/saveplace.el2
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."
138 :version "24.1" 138 :version "24.1"
139 :type 'regexp :group 'save-place) 139 :type 'regexp :group 'save-place)
140 140
141(declare-function dired-current-directory "dired" (&optional localp))
142
141(defun toggle-save-place (&optional parg) 143(defun toggle-save-place (&optional parg)
142 "Toggle whether to save your place in this file between sessions. 144 "Toggle whether to save your place in this file between sessions.
143If this mode is enabled, point is recorded when you kill the buffer 145If this mode is enabled, point is recorded when you kill the buffer