[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/tmr b01685626e 4/6: Document minibuffer histories; add
From: |
ELPA Syncer |
Subject: |
[elpa] externals/tmr b01685626e 4/6: Document minibuffer histories; add savehist sample |
Date: |
Thu, 7 Jul 2022 12:58:00 -0400 (EDT) |
branch: externals/tmr
commit b01685626ec66bfb2f47ecf034613d802e9d3678
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Document minibuffer histories; add savehist sample
---
README.org | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/README.org b/README.org
index 9d1f0a642f..e7f34bf2a2 100644
--- a/README.org
+++ b/README.org
@@ -261,6 +261,25 @@ Desktop notifications work only if Emacs is built with DBus
functionality. This is the norm. If such functionality is not
available, TMR will issue warning informing the user accordingly.
+** Minibuffer histories
+:PROPERTIES:
+:CUSTOM_ID: h:fbedb656-2402-46bc-9763-d5112700c954
+:END:
+
+TMR defines two variables that store user input: ~tmr-duration-history~
+and ~tmr-description-history~. Minibuffer histories can persist between
+sessions if the user enables the built-in =savehist= library. Sample
+configuration:
+
+#+begin_src emacs-lisp
+(require 'savehist)
+(setq savehist-file (locate-user-emacs-file "savehist"))
+(setq history-length 10000)
+(setq history-delete-duplicates t)
+(setq savehist-save-minibuffer-history t)
+(add-hook 'after-init-hook #'savehist-mode)
+#+end_src
+
* Installation
:PROPERTIES:
:CUSTOM_ID: h:46378bdf-f6cc-469e-b0b0-1b90dd9aa595
- [elpa] externals/tmr updated (b653422977 -> 03728958e4), ELPA Syncer, 2022/07/07
- [elpa] externals/tmr 0081093a91 1/6: Add header to CHANGELOG.org, ELPA Syncer, 2022/07/07
- [elpa] externals/tmr b01685626e 4/6: Document minibuffer histories; add savehist sample,
ELPA Syncer <=
- [elpa] externals/tmr 96cc5d2a80 2/6: Retroactively document versions 0.1.0, 0.2.0, ELPA Syncer, 2022/07/07
- [elpa] externals/tmr e1120e9241 3/6: Update links to package sources, ELPA Syncer, 2022/07/07
- [elpa] externals/tmr 03728958e4 6/6: Clarify docs of tmr-cancel command, ELPA Syncer, 2022/07/07
- [elpa] externals/tmr d4e08d2bc7 5/6: Clarify docs about tmr-remove command, ELPA Syncer, 2022/07/07