[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: saveplace and friends

From: Uwe Brauer
Subject: Re: saveplace and friends
Date: Tue, 09 Aug 2016 15:11:13 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

    > The default should work just fine.  What Uwe needs is turn on the
    > mode:

    >   (require 'saveplace)
    >   (save-place-mode 1)

    > Emacs has long ago switched away from the policy of having a mode turn
    > on just by loading a file.  Nowadays, users need to actually turn on
    > the mode.

Right, it seems that

(require 'saveplace)
(if (fboundp #'save-place-mode)
  (save-place-mode +1)
  (setq-default save-place t))

Does the trick, which is a more complicated version of what you
proposed. Sorry for the noise, but the emacswiki needs an upgrade.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]