Mercurial > emacs
comparison lisp/saveplace.el @ 6877:6347a8d838c8
(save-place-kill-emacs-hook): Fix typo.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 14 Apr 1994 12:04:19 +0000 |
parents | db2292ce4894 |
children | 5554c5e451ae |
comparison
equal
deleted
inserted
replaced
6876:92cef0f29878 | 6877:6347a8d838c8 |
---|---|
180 (progn | 180 (progn |
181 (goto-char (cdr cell)) | 181 (goto-char (cdr cell)) |
182 ;; and make sure it will be saved again for later | 182 ;; and make sure it will be saved again for later |
183 (setq save-place t))))) | 183 (setq save-place t))))) |
184 | 184 |
185 (defun save-place-kill-emacs-hook | 185 (defun save-place-kill-emacs-hook () |
186 (save-places-to-alist) | 186 (save-places-to-alist) |
187 (save-place-alist-to-file)) | 187 (save-place-alist-to-file)) |
188 | 188 |
189 (add-hook 'find-file-hooks 'save-place-find-file-hook t) | 189 (add-hook 'find-file-hooks 'save-place-find-file-hook t) |
190 | 190 |