projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d143df5
)
Avoid compilation warning in saveplace.el for dired-current-directory
author
Juri Linkov
<juri@linkov.net>
Sun, 28 Dec 2014 00:52:50 +0000
(
02:52
+0200)
committer
Juri Linkov
<juri@linkov.net>
Sun, 28 Dec 2014 00:52:50 +0000
(
02:52
+0200)
lisp/saveplace.el
patch
|
blob
|
history
diff --git
a/lisp/saveplace.el
b/lisp/saveplace.el
index 18e34cfcaa3949d2dd04aeda66490047b0eab043..985a52a0fc03eb45c10c90dc39a9e06783c3b85c 100644
(file)
--- 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