1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00
Commit Graph

27 Commits

Author SHA1 Message Date
Juanma Barranquero
7619d43bc4 (savehist-coding-system): Default to a variant coding system
with explicit unix end-of-line conversion, which is safer.
2008-01-04 00:33:55 +00:00
Miles Bader
c12ecb0af9 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-923
2007-11-09 09:45:30 +00:00
Richard M. Stallman
e2295672e8 (savehist-save): Obey savehist-ignored-variables. 2007-10-30 08:24:30 +00:00
Miles Bader
fdc9061358 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 131-137)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 261-262)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-908
2007-10-27 09:07:17 +00:00
Richard M. Stallman
648db50dea (savehist-save): Omit unreadable elements. 2007-10-24 08:15:03 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Chong Yidong
e3af1e5d00 (savehist-file): Use user-emacs-directory. 2007-06-13 00:05:47 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Reiner Steib
c0192ec838 Remove bogus `debug' in previous commit. 2006-04-03 17:34:35 +00:00
Reiner Steib
cd4160e614 (savehist): Add :version.
(savehist-ignored-variables): New variable.
(savehist-minibuffer-hook): Don't save variables listed in
`savehist-ignored-variables'.
2006-04-03 17:32:28 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Juanma Barranquero
d33544d379 (savehist-loaded, savehist-load, savehist-install, savehist-autosave,
savehist-trim-history): Fix typos in docstrings.
2006-02-02 12:02:14 +00:00
Juri Linkov
105744a3cf (savehist-mode-hook): Add `:group'. 2005-12-23 21:49:51 +00:00
Richard M. Stallman
f6fbc344c1 (savehist-save-hook): Add :group. 2005-11-16 22:18:46 +00:00
Stefan Monnier
ed5a258ad1 (savehist-mode-hook): Re-add the var.
(savehist-mode): Use it.
2005-11-16 17:20:25 +00:00
Stefan Monnier
2d10b62be6 (savehist-mode): Don't bother with `custom-set-minor-mode.
(savehist-coding-system): Check XEmacs version.
(history-length): Declare also at run time.
(savehist-mode): Don't emit a message.  Don't run the minor mode hook.
Don't set the customize state.
(savehist-minibuffer-hook): Special case for when
minibuffer-history-variable is equal to t.
2005-11-14 22:30:35 +00:00
Stefan Monnier
b13e8fb336 (savehist-mode) <defcustom>: Use custom-set-minor-mode if available.
(savehist-mode) <defun>: Run the minor mode hook, set the custom state
and emit a message if applicable.
2005-11-01 06:09:32 +00:00
Stefan Monnier
b91f17dcc6 Sync up to version 19.
(savehist-mode): New minor mode.
(savehist-file): Use ~/.emacs.d or ~/.xemacs if available.
(savehist-length): Remove (use history-length instead).
(savehist-file-modes): Rename from savehist-modes.
(savehist-save-hook, savehist-loaded): New vars.
(savehist-load): Use savehist-mode.  Try to smooth up transition from
old format to new format.
(savehist-install): Allow savehist-autosave-interval to be nil.
(savehist-save): Run the new hook.  Be more careful to only trim the
history variables.
(savehist-trim-history): New fun.  Replaces savehist-process-for-saving.
(savehist-printable): Print into a buffer rather than char-by-char.
2005-11-01 05:49:46 +00:00
Stefan Monnier
2a2b5b2998 Require CL while compiling.
(savehist-history-variables): Remove.
(savehist-save-minibuffer-history, savehist-additional-variables)
(savehist-minibuffer-history-variables): New vars.
(savehist-save): Use them.
(savehist-uninstall, savehist-minibuffer-hook): New funs.
(savehist-install): New fun, extracted from savehist-load.
(savehist-load): Use them.
2005-10-24 17:21:30 +00:00
Romain Francoise
02c583a44c (savehist-history-variables): Add `grep-find-history'. 2005-10-22 17:45:50 +00:00
Stefan Monnier
e27e4e7a3b (savehist-coding-system): Revert to checking XEmacs. 2005-10-19 19:09:58 +00:00
Stefan Monnier
67f05bf61a (savehist-load): Revert to checking XEmacs. 2005-10-18 16:13:18 +00:00
Miles Bader
16b52b6155 Add arch tagline 2005-10-16 21:21:05 +00:00
Stefan Monnier
3930b7e415 Don't require CL at runtime.
(savehist-xemacs): Remove.
(savehist-coding-system): Use utf-8 if available, regardless of religion.
(savehist-no-conversion): Use (featurep 'xemacs).
(savehist-load): Check existence of start-itimer rather than XEmacs.
Use an idle timer.
(savehist-process-for-saving): Replace use of CL funs `subseq' and
`delete-if-not'.
2005-10-16 15:22:37 +00:00
Stefan Monnier
216ee1a46c (savehist-autosave-interval, savehist-coding-system, savehist-timer)
(savehist-last-checksum, savehist-no-conversion): New vars.
(savehist-autosave, savehist-process-for-saving, savehist-printable): New funs.
(savehist-load, savehist-save): Use them.
(savehist-delimit): Remove.
2005-10-16 15:02:39 +00:00
Richard M. Stallman
cb23c7c11c New file. 2005-10-16 02:10:39 +00:00