1
0
Fork 0
Commit graph

51 commits

Author SHA1 Message Date
Bram Schoenmakers 0b0dd8dca9 Use desktop-auto-save to save the desktop 2023-07-28 09:14:43 +02:00
Bram Schoenmakers beb4c60dc8 Add explanation on multiple Emacs instances 2023-07-04 06:50:39 +02:00
Bram Schoenmakers d57cc443cc Version bump 2023-07-02 08:03:29 +02:00
Bram Schoenmakers ad458e9a4d Add badge for MELPA stable 2023-07-02 08:02:09 +02:00
Bram Schoenmakers 54b7bbae7b Add support for the saveplace package 2023-06-21 19:14:43 +02:00
Bram Schoenmakers 3e7654de9a Exclude implicit and non-customizable variables generated by define-minor-mode 2023-06-19 07:15:14 +02:00
Bram Schoenmakers d9e2f6e401 Replace Org-based link with HTML code
The image link for org-mode is not rendered properly on Forgejo / Codeberg.
2023-06-19 06:30:35 +02:00
Bram Schoenmakers bca381d1f7 persist-state reached MELPA 2023-06-19 06:17:46 +02:00
Bram Schoenmakers 757a604972 Add (require 'map) for the map-values function 2023-06-18 22:16:47 +02:00
Bram Schoenmakers 33d0a97515 Add back package version 2023-06-17 23:06:51 +02:00
Bram Schoenmakers 4890e721ce Change function names to imply that state may be saved
Because state is only saved when the package is available and active.
2023-06-16 11:57:24 +02:00
Bram Schoenmakers d3980cd8f7 Update README 2023-06-16 09:49:02 +02:00
Bram Schoenmakers 3a839161b9 Declare functions and variables from external packages 2023-06-14 23:01:08 +02:00
Bram Schoenmakers e514140713 Use named functions for supported packages
No anonymous lambdas. Should make it a bit easier to configure the
persist-state-saving-functions variable.
2023-06-13 20:39:57 +02:00
Bram Schoenmakers d98f4bfb2f Adjust commentary a bit 2023-06-12 23:39:34 +02:00
Bram Schoenmakers 8bc22f3ca8 Remove version string
As per Github discussion linked below.

https://github.com/melpa/melpa/pull/8574#issuecomment-1575691946
2023-06-12 21:38:22 +02:00
Bram Schoenmakers 0e8fcacc17 Factor out parameter, read variable's value directly 2023-06-12 07:21:01 +02:00
Bram Schoenmakers d2c78de374 Remove (interactive) from private functions 2023-06-11 22:18:21 +02:00
Bram Schoenmakers a872338a7d Extend README 2023-06-05 22:41:54 +02:00
Bram Schoenmakers 9613f9be51 Replace package header Package-Version with Version
Package-Version will be added my MELPA.
2023-06-05 22:26:17 +02:00
Bram Schoenmakers 13e8b4617b Fix some flycheck-package errors 2023-06-03 21:18:14 +02:00
Bram Schoenmakers 1c29bf1ef6 Add a bit of commentary to the header 2023-06-03 21:18:14 +02:00
Bram Schoenmakers aca886080d Fix typos 2023-06-03 21:18:07 +02:00
Bram Schoenmakers 982e2fdea1 Apply license properly 2023-06-03 18:03:34 +02:00
Bram Schoenmakers c5962e29b2 Only save when the desktop has changed 2023-05-25 13:55:14 +02:00
Bram Schoenmakers 00d71e1efd Add remark on being idle 2023-05-24 22:54:58 +02:00
Bram Schoenmakers f0d9fe520f Add some contact details 2023-05-21 14:09:32 +02:00
Bram Schoenmakers 608a60664c Change project URL to Codeberg 2023-05-21 12:31:16 +02:00
Bram Schoenmakers 6554482fc4 Update README 2023-05-21 11:48:22 +02:00
Bram Schoenmakers f8b42418db Check that timer is not already running
persist-state--enable is called every time the minor mode is enabled,
without checking for the timer's existence. This causes multiple
timers to be created, so multiple save actions.
2023-05-17 16:27:49 +02:00
Bram Schoenmakers 070dac4240 Fix call to desktop-save 2023-05-15 15:53:41 +02:00
Bram Schoenmakers d57ec1ed52 Fix call to savehist 2023-05-15 12:32:54 +02:00
Bram Schoenmakers 08dc2819bf Adapt commentary 2023-05-15 07:24:15 +02:00
Bram Schoenmakers e490cfda53 Add .gitignore 2023-05-14 22:49:45 +02:00
Bram Schoenmakers 4a6be40724 Fix docstring location 2023-05-14 22:49:32 +02:00
Bram Schoenmakers 605040b42b Update README 2023-05-14 19:57:05 +02:00
Bram Schoenmakers 2c54424ba5 Add minor mode 2023-05-14 19:30:47 +02:00
Bram Schoenmakers 273102a287 Preconditions and arguments should be used within :function
Simplify the definition of functions. Also add some preconditions to
some functions, to enable saving only when the corresponding saving
mode is enabled.
2023-05-13 21:51:02 +02:00
Bram Schoenmakers d61ba29a76 Add # to function name 2023-05-13 21:49:09 +02:00
Bram Schoenmakers 7e26554555 Add support for prescient.el 2023-05-12 20:05:04 +02:00
Bram Schoenmakers dd57536081 Allow a package to have a URL 2023-05-12 20:04:40 +02:00
Bram Schoenmakers 58f654c35d Made package support more extensible and maintainable 2023-05-12 19:05:37 +02:00
Bram Schoenmakers a567abcf7c Don't show attribution in rendered README 2023-05-12 18:22:50 +02:00
Bram Schoenmakers 7a79151483 Improve docstrings 2023-05-12 18:21:34 +02:00
Bram Schoenmakers 6b5fceafc5 Only export the result, not the code that generates it 2023-05-12 18:18:30 +02:00
Bram Schoenmakers df6c8e51c7 Generate configuration table in README
Inspired by this post, added a sorting step.
2023-05-11 22:34:50 +02:00
Bram Schoenmakers 1b551343f1 Change module name to save eshell history 2023-05-09 22:05:55 +02:00
Bram Schoenmakers b9dd3c3473 Reformat 2023-05-09 22:04:22 +02:00
Bram Schoenmakers 19e88addaa Add support for some builtin packages to save automatically 2023-05-09 21:03:41 +02:00
Bram Schoenmakers d450103a57 Add README draft 2023-05-07 23:01:15 +02:00