Age | Commit message (Collapse) | Author |
|
* 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.
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
Before merging, Makefile code specific for maven-test-mode was removed.
|
|
|