Commit graph

2710 commits

Author SHA1 Message Date
Protesilaos Stavrou db56a5ecb2
Fix compilation and remove superfluous items 2020-11-14 15:48:46 +02:00
Protesilaos Stavrou b67c971e4e
Add custom face declarations 2020-11-11 22:47:46 +02:00
Protesilaos Stavrou 7e73cfca49
Car of alist must be a symbol (extend a3f7b4d) 2020-11-11 18:30:52 +02:00
Protesilaos Stavrou a3f7b4d386
Simplify macro expansion of alist cons cells 2020-11-11 18:30:30 +02:00
Protesilaos Stavrou 32d8f57cbe
Make theme files 'provide-theme' 2020-11-11 18:29:48 +02:00
Protesilaos Stavrou 7c8fe9769a
Avoid 'eval' inside macro expansion
Read the info node (evaluate the following):

          (info "(elisp) Eval")

      ... to get the value of a variable, while ‘eval’ works,
      ‘symbol-value’ is preferable ...
2020-11-11 18:09:34 +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 04b8f5977a
Remove unused code 2020-11-11 13:16:48 +02:00
Protesilaos Stavrou 9ddae384b8
Remove unused macro for simplicity 2020-11-11 13:15:29 +02:00
Protesilaos Stavrou 06b9d14ab2
Early prototype 2020-11-11 11:58:35 +02:00