;ELC ;;; compiled by rms@mole.gnu.ai.mit.edu on Mon Sep 5 22:16:43 1994 ;;; from file /home/fsf/rms/e19/lisp/saveplace.el ;;; emacs version 19.26.1. ;;; bytecomp version FSF 2.10 ;;; optimization is on. ;;; this file uses opcodes which do not exist in Emacs 18. (if (and (boundp 'emacs-version) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19"))) (error "`/home/fsf/rms/e19/lisp/saveplace.el' was compiled for Emacs 19")) (defvar save-place-alist nil "\ Alist of saved places to go back to when revisiting files. Each element looks like (FILENAME . POSITION); visiting file FILENAME goes automatically to position POSITION rather than the beginning of the buffer. This alist is saved between Emacs sessions.") (defvar save-place nil "\ *Non-nil means automatically save place in each file. This means when you visit a file, point goes to the last place where it was when you previously visited the same file. This variable is automatically buffer-local. If you wish your place in any file to always be automatically saved, simply put this in your `~/.emacs' file: (setq-default save-place t)") (make-variable-buffer-local (quote save-place)) (defvar save-place-file "~/.emacs-places" "\ *Name of the file that records `save-place-alist' value.") (defvar save-place-version-control (quote nospecial) "\ *Controls whether to make numbered backups of master save-place file. It can have four values: t, nil, `never', and `nospecial'. The first three have the same meaning that they do for the variable `version-control', and the final value `nospecial' means just use the value of `version-control'.") (defvar save-place-loaded nil "\ Non-nil means that the `save-place-file' has been loaded.") (defalias 'toggle-save-place #[(&optional parg) "„\fÁÂÃÄ \"!‡ ƒ$ƒÇXƒ$ÁÈ!ˆÉ‰‡ÁÊ!ˆË‰‡" [buffer-file-name message format "Buffer \"%s\" not visiting a file." buffer-name save-place parg 0 "No place will be saved in this file." nil "Place will be saved." t] 4 "\ Toggle whether to save your place in this file between sessions. If this mode is enabled, point is recorded when you kill the buffer or exit Emacs. Visiting this file again will go to that position, even in a later Emacs session. If called with a prefix arg, the mode is enabled if and only if the argument is positive. To save places automatically in all files, put this in your `.emacs' file: (setq-default save-place t)" "P"]) (byte-code "ÀÁÂ\"ˆÀÃÄ\"ˆÀÅÆ\"ˆÀÇÈ\"ˆÀÉÊ\"ˆÀËÌ\"ˆÍÎÉÏ#ˆÍÐË\"ˆÍÑÁ\"ˆÒÓ!‡" [defalias save-place-to-alist #[nil "„Á ˆ\n…&Ã\n\f\"‰ƒÆ \f\")…&\n`B\fB‰‡" [save-place-loaded load-save-place-alist-from-file buffer-file-name assoc save-place-alist cell delq save-place] 4] save-place-alist-to-file #[nil "À !ŠÃÄÅ\n\"!ˆÆÇ!qˆed|ˆÈ\n!ƒÉ\n!ˆed|ˆebˆÊ p\"ˆ\f„5Í‚M\fÎ=ƒ@΂M\fÏ=ƒL‚MÑÒ\n!ˆÓp!ˆÃÄÔ\n\"!+‡" [expand-file-name save-place-file file message format "Saving places to %s..." get-buffer-create " *Saved Places*" file-readable-p insert-file-contents print save-place-alist save-place-version-control nil never nospecial version-control t write-file kill-buffer "Saving places to %s... done."] 4] load-save-place-alist-from-file #[nil "?…?Á !Å\f!ƒ=ŠÆÇÈ \"!ˆÉÊ!qˆed|ˆË\f!ˆebˆÌed{!@ Îp!ˆÆÇÏ\f\"!ˆ))Ї" [save-place-loaded t expand-file-name save-place-file file file-readable-p message format "Loading places from %s..." get-buffer-create " *Saved Places*" insert-file-contents read-from-string save-place-alist kill-buffer "Loading places from %s... done." nil] 4] save-places-to-alist #[nil "À  …Š @qˆ\nƒà ˆ A)‚)‡" [buffer-list buf-list buffer-file-name save-place-to-alist] 1] save-place-find-file-hook #[nil "„Á ˆÂ \f\"‰…„ AbˆÇ‰)‡" [save-place-loaded load-save-place-alist-from-file assoc buffer-file-name save-place-alist cell after-find-file-from-revert-buffer t save-place] 4] save-place-kill-emacs-hook #[nil "À ˆÁ ‡" [save-places-to-alist save-place-alist-to-file] 1] add-hook find-file-hooks t kill-emacs-hook kill-buffer-hook provide saveplace] 4)