1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

47 Commits

Author SHA1 Message Date
Juanma Barranquero
06b605171f lisp/*.el: Lexical-binding cleanup. 2011-04-19 15:44:55 +02:00
Glenn Morris
95df8112a0 Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Stefan Monnier
77ab81d054 Merge from emacs-23 2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Stefan Monnier
56eb09046e Use define-minor-mode where applicable.
* mh-show.el (mh-showing-mode): Move function to mh-e.el.
* mh-e.el (mh-showing-mode):
* url-dired.el (url-dired-minor-mode):
* org-table.el (orgtbl-mode):
* view.el (view-mode):
* type-break.el (type-break-query-mode)
(type-break-mode-line-message-mode):
* textmodes/reftex.el (reftex-mode):
* term/vt100.el (vt100-wide-mode):
* tar-mode.el (tar-subfile-mode):
* savehist.el (savehist-mode):
* ibuf-ext.el (ibuffer-auto-mode):
* composite.el (auto-composition-mode):
* progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
Use define-minor-mode.
(vhdl-mode): Use static mode-line format.
(vhdl-mode-line-update): Delete.
(vhdl-create-mode-menu, vhdl-activate-customizations)
(vhdl-hs-minor-mode): Don't bother calling it.
2010-05-02 22:29:46 -04:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Glenn Morris
8d53846a14 Update maintainer per comment from HN in bug#5056: "I no longer
actively maintain savehist-mode".
2009-12-01 03:12:13 +00:00
Juanma Barranquero
2ac7e73ec4 * savehist.el (savehist-autosave-interval): Allow setting to nil
through customize.  (Bug#5056)
2009-11-30 23:39:04 +00:00
Juanma Barranquero
32226619c5 Use called-interactively-p' instead of interactive-p'. 2009-10-02 03:48:36 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Juanma Barranquero
ea6c930a8d * completion.el (add-completion-to-head, add-completion): Doc fixes.
(completion-search-next, add-completions-from-file):
  Fix typos in docstrings.

* filesets.el (filesets-menu-ensure-use-cached)
  (filesets-ingroup-patterns, filesets-filetype-property):
* tutorial.el (get-lang-string):
* play/gamegrid.el (gamegrid-score-file-length, gamegrid-add-score):
  Fix typos in docstrings.

* image-dired.el (image-dired-dired-after-readin-hook): Doc fix.
  (image-dired-line-up-method, image-dired-thumb-size)
  (image-dired-cmd-write-exif-data-options, image-dired-write-tags)
  (image-dired-track-original-file, image-dired-track-thumbnail)
  (image-dired-dired-next-line, image-dired-dired-previous-line)
  (image-dired-write-comments): Reflow docstrings.
  (image-dired-show-all-from-dir-max-files)
  (image-dired-format-properties-string, image-dired-create-thumbs)
  (image-dired-mark-tagged-files, image-dired-gallery-generate):
  Fix typos in docstrings.

* savehist.el (savehist-save-minibuffer-history, savehist-file)
  (savehist-additional-variables, savehist-ignored-variables)
  (savehist-file-modes, savehist-autosave-interval):
* startup.el (inhibit-startup-echo-area-message, inhibit-default-init)
  (inhibit-startup-buffer-menu, mail-host-address, user-mail-address)
  (fancy-splash-image):
* thumbs.el (thumbs-thumbsdir, thumbs-geometry, thumbs-relief)
  (thumbs-conversion-program, thumbs-margin):
  Remove spurious * in docstrings.
2008-10-25 00:46:25 +00:00
Juanma Barranquero
d6c180c46b New function `locate-user-emacs-file'.
* subr.el (locate-user-emacs-file): New function.
  (user-emacs-directory): Mention it in docstring.

* completion.el (save-completions-file-name):
* filesets.el (filesets-menu-cache-file):
* image-dired.el (image-dired-dir, image-dired-db-file)
  (image-dired-temp-image-file, image-dired-gallery-dir)
  (image-dired-temp-rotate-image-file):
* savehist.el (savehist-file):
* server.el (server-auth-dir):
* startup.el (auto-save-list-file-prefix):
* thumbs.el (thumbs-thumbsdir):
* tutorial.el (tutorial--saved-dir):
* play/gamegrid.el (gamegrid-user-score-file-directory): Use it.

* url.el (url-configuration-directory): Use `locate-user-emacs-file'.

* NEWS: New function `locate-user-emacs-file'.
2008-10-24 09:39:27 +00:00
Eli Zaretskii
5b9bdd5b85 (savehist-file): Run file names that begin with a period thru
`convert-standard-filename'.
2008-10-19 10:12:01 +00:00
Glenn Morris
14c8159c89 Comments. 2008-09-20 19:48:38 +00:00
Glenn Morris
926558fb3b Ami Fischman <ami at fischman.org>
(savehist-save): Handle errors in writing as well as reading.
2008-09-20 19:47:07 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Glenn Morris
83d67b5692 Fix comment typo. 2008-04-23 03:07:56 +00:00
Juanma Barranquero
b59d7b842d (savehist-load): Add WHEN to obsolescence declaration.
Remove redundant obsolescence info in docstring.
2008-04-18 10:33:52 +00:00
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