Commit graph

243 commits

Author SHA1 Message Date
Protesilaos Stavrou 128e604602
Update copyright years 2022-01-05 09:37:02 +02:00
Protesilaos Stavrou c435114b97
Update copyright statement to match emacs.git 2021-12-25 07:54:28 +02:00
Protesilaos Stavrou 8485dba0b1
Update to version 2.0.0 2021-12-24 12:39:51 +02:00
Protesilaos Stavrou 6f69627703
Update to version 1.7.0 2021-11-18 12:30:30 +02:00
Protesilaos Stavrou a19a829dcc
Make all theme files require same Emacs version
The main file, modus-themes.el, has had this minimum requirement on
Emacs 27.1 for a while now.

Thanks to Togan Muftuoglu for reporting the inconsistency in issue 246:
<https://gitlab.com/protesilaos/modus-themes/-/issues/246>.
2021-10-15 07:22:03 +03:00
Protesilaos Stavrou 8dbfe43fe5
Update to version 1.6.0 2021-09-29 11:04:20 +03:00
Protesilaos Stavrou b6fb7cda01
Update to version 1.5.0 2021-07-15 14:12:49 +03:00
Protesilaos Stavrou 15c973f716
Update to version 1.4.0 2021-05-25 12:27:07 +03:00
Protesilaos Stavrou a3ff6dc946
Update to version 1.3.2 2021-04-18 06:27:07 +03:00
Protesilaos Stavrou 1903cf6530
Bump file versions to 1.3.1 2021-04-17 19:04:11 +03:00
Protesilaos Stavrou 69248a97c9
Update modus-themes to version 1.3.0 2021-04-17 18:34:51 +03:00
Protesilaos Stavrou ccca6b3369
Refine code of commit 6f26cc8 ('require-theme')
Thanks to Mauro Aranda for providing this version:
<https://gitlab.com/protesilaos/modus-themes/-/issues/164#note_528435230>.
2021-03-12 22:29:59 +02:00
Protesilaos Stavrou 6f26cc8fb1
Implement workaround for using 'require-theme'
This is related to issue 164, which pertains to a problem in byte
compilation that is experienced while using 'straight.el' on Emacs 28:
<https://gitlab.com/protesilaos/modus-themes/-/issues/164>.

Thanks, in no particular order, to everyone who has participated thus
far in that thread: John Haman, Trey, Nicolas De Jaeghere, Mauro Aranda.
2021-03-12 21:48:42 +02:00
Protesilaos Stavrou 0a36239baf
Update to version 1.2.3 2021-03-05 19:43:30 +02:00
Basil L. Contovounesios 5b1b28022c
Remove redundant calls to 'provide'
* modus-operandi-theme.el:
* modus-vivendi-theme.el: Remove (provide 'foo-theme), which is
already done by (provide-theme 'foo).
2021-03-05 16:16:52 +00:00
Protesilaos Stavrou ece5f3b92e
Update to version 1.2.2 2021-03-05 14:03:04 +02:00
Protesilaos Stavrou c61b4b6fc8
Fix conditional use of 'require-theme'
This snippet is courtesy of Basil L. Contovounesios.  It is meant to
make the themes load their main library regardless of version or setup,
as discussed in issue 162:
<https://gitlab.com/protesilaos/modus-themes/-/issues/162>.
2021-03-05 13:48:45 +02:00
Protesilaos Stavrou dd11964310
Fix modus-vivendi docstring 2021-03-04 22:26:07 +02:00
Protesilaos Stavrou 68dff175de
Update to version 1.2.0 2021-03-04 15:08:06 +02:00
Protesilaos Stavrou bdf9e4f2e8
Revert commit 0a5ec7d
This is because it breaks things with existing installs, as reported by
several users in issue 162:
<https://gitlab.com/protesilaos/modus-themes/-/issues/162>.
2021-03-04 13:57:33 +02:00
Protesilaos Stavrou 6eb515e589
Test for 'require-theme' before trying (Emacs28)
This is because the feature/native-comp branch on emacs.git does not
have that function yet.  Thanks to Mark Barton for reporting the problem
in issue 162: <https://gitlab.com/protesilaos/modus-themes/-/issues/162>.
2021-03-04 06:38:43 +02:00
Protesilaos Stavrou 0a5ec7dbe0
Update theme files for Emacs 28 inclusion+upgrade
The themes are already in Emacs, but we have to use a new function for
things to work as intended with the new version of the files (check the
Emacs source code for the technicalities of 'require-theme').

This is in preparation of the imminent release of version 1.2.0.
2021-03-03 19:21:57 +02:00
Protesilaos Stavrou 96a21ab229
Update doc of deftheme modus-vivendi 2021-02-27 04:52:29 +02:00
Protesilaos Stavrou 46bd9afbdf
Restore mistakenly removed section from the manual 2021-01-25 07:52:16 +02:00
Protesilaos Stavrou 97fa6679b3
Update to version 1.1.0 2021-01-24 13:55:23 +02:00
Protesilaos Stavrou ea475c8828
Update copyright notices to cover new year 2021-01-02 20:01:03 +02:00
Nicolas De Jaeghere 11bf20bab3
Absorb theme macro into modus-themes.el 2020-12-31 11:42:33 +01:00
Nicolas De Jaeghere 2f2b55b2d8
Simplify theme macro 2020-12-30 15:40:40 +01:00
Protesilaos Stavrou e86cf90e9b
Remove theme-specific path registration
This appears to be causing the problem reported in issue 130:
<https://gitlab.com/protesilaos/modus-themes/-/issues/130>.
2020-12-09 16:07:26 +02:00
Protesilaos Stavrou ab0f558397
Update to version 1.0.2
Minor tweaks to the manual to ensure that the right instructions are
provided for those who install the themes manually or will be using the
version that is shipped with Emacs.
2020-12-06 13:08:37 +02:00
Protesilaos Stavrou 6af3c19704
Update files to version 1.0.1 2020-12-06 10:32:13 +02:00
Protesilaos Stavrou ebfa08c4ca
Move deftheme declarations outside the main file
Reported by Daniel Mendler in issue 130:
<https://gitlab.com/protesilaos/modus-themes/-/issues/130>.
2020-12-05 21:10:42 +02:00
Protesilaos Stavrou 240630e5ac
Move function aliased to the main file 2020-11-22 09:13:26 +02:00
Protesilaos Stavrou 556fe3c047
Add aliases for theme loading 2020-11-22 07:31:48 +02:00
Protesilaos Stavrou 3f53316f7b
Tweak call to load path
* modus-operandi-theme.el (load-file-name): Make sure
custom-theme-load-path is bound.

* modus-vivendi-theme.el (load-file-name): Same.
2020-11-19 22:42:53 +02:00
Protesilaos Stavrou 83a216a6d6
Remove needless 'eval-and-compile'
* modus-operandi-theme.el (modus-themes, require): Just require
'modus-themes is enough.  No need for eval-and-compile.

* modus-vivendi-theme.el (modus-themes, require): Same.
2020-11-19 22:41:09 +02:00
Protesilaos Stavrou cfef0a61fd
Reformat GPL notice in each file's header 2020-11-17 17:57:58 +02:00
Protesilaos Stavrou 20b011e25d
Avoid duplication of commentary 2020-11-17 17:55:26 +02:00
Protesilaos Stavrou 50bb3f5adf
Use correct comment header for the themes
Discussion: https://gitlab.com/protesilaos/modus-themes/-/issues/119
2020-11-17 16:58:40 +02:00
Protesilaos Stavrou db56a5ecb2
Fix compilation and remove superfluous items 2020-11-14 15:48:46 +02:00
Protesilaos Stavrou 32d8f57cbe
Make theme files 'provide-theme' 2020-11-11 18:29:48 +02:00
Protesilaos Stavrou 7bc6a6e620
Avoid loading macros when users run the code
Evaluate this:

         (info "(elisp) Compiling Macros")

    Byte-compiling a file also executes any ‘require’ calls at top-level
    in the file, so you can ensure that necessary macro definitions are
    available during compilation by requiring the files that define
    them (*note Named Features::).  To avoid loading the macro
    definition files when someone _runs_ the compiled program, write
    ‘eval-when-compile’ around the ‘require’ calls (*note Eval During
    Compile::).
2020-11-11 17:40:26 +02:00
Protesilaos Stavrou 06b9d14ab2
Early prototype 2020-11-11 11:58:35 +02:00