summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2022-08-18Makefile: Use loaddefs-generate in Emacs 29Basil L. Contovounesios
What will become Emacs 29 has obsoleted and no longer preloads autoload.el, which defines update-file-autoloads. * Makefile (bog-autoloads.el): When available, prefer the new loaddefs-generate over update-file-autoloads.
2020-06-25Use lexical-binding and byte-compile testsBasil L. Contovounesios
* Makefile (test, clean): Byte-compile test suite to catch more errors. * bog-tests.el: Use lexical-binding. Remove the need for cl-lib by replacing single cl-gensym with make-symbol. Declare 'citekey' as a special variable. Add footer line. (bog-tests-with-temp-dir): Replace cl-gensym with make-symbol. (bog-tests-with-temp-text): Allow instrumenting for debugging. Evaluate arguments only once. Don't assume 'citekey' is bound. Pass non-nil FIXEDCASE and LITERAL arguments to replace-match. Simplify with buffer rather than string manipulation. (bog-file-citekeys/multiple-variants): Fix typo caught by byte-compilation. * bog.el: Use lexical-binding. Quote function symbols as such. (bog--with-citekey-cache): Allow instrumenting for debugging. Replace cl-gensym with make-symbol. (bog-selection-method): Simplify and reindent. (bog--agenda-map): New keymap. (bog--with-search-lprops): Use it instead of generating it on the fly. Allow instrumenting for debugging. Don't use org-let which calls eval without lexical-binding. Bind uninterned symbol around body. Use unwind-protect to ensure org-lprops are restored. (bog-search-notes, bog-agenda-redo): Unquote body passed to bog--with-search-lprops now that it no longer uses org-let. (bog-command-map): Make docstring consistent with that of other keymaps.
2020-06-25Makefile: Allow specifying Emacs version with varBasil L. Contovounesios
2015-12-13Makefile: SimplifyKyle Meyer
2015-02-19Makefile: Fix batch test run for travisKyle Meyer
Commit 9e80dc263 redefined the EMACS variable in the Makefile to include the --batch flag, but this is overridden in .travis.yml, so specify the flags separately.
2015-02-19Makefile: Byte compile before testsKyle Meyer
2015-02-19Use cl-lib instead of dashKyle Meyer
2015-02-17Expand MakefileKyle Meyer
2014-11-24Merge pull request #4 from rranelli/tests-with-makefileKyle Meyer
Before merging, Makefile code specific for maven-test-mode was removed.
2014-11-24Add Makefile and test targetrenan-ranelli