diff options
| author | Juri Linkov | 2014-12-28 02:52:50 +0200 |
|---|---|---|
| committer | Juri Linkov | 2014-12-28 02:52:50 +0200 |
| commit | 9bb10cbdc59486c2131cea9b5399e9cbdc0418ab (patch) | |
| tree | 6cca2143af3395062c70836862badf756c1f919b | |
| parent | d143df5a4ecff352470f09019364310ec8e2202b (diff) | |
| download | emacs-9bb10cbdc59486c2131cea9b5399e9cbdc0418ab.tar.gz emacs-9bb10cbdc59486c2131cea9b5399e9cbdc0418ab.zip | |
Avoid compilation warning in saveplace.el for dired-current-directory
| -rw-r--r-- | lisp/saveplace.el | 2 |
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. |
| 143 | If this mode is enabled, point is recorded when you kill the buffer | 145 | If this mode is enabled, point is recorded when you kill the buffer |