| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
CIDER's popups had a way to track those automatically for a while,
it's time to leverage this consistently.
|
|
|
|
|
|
|
| |
This reverts commit b28fbac964907172fdedc3bea56eab905d5fbdbf.
This can't be fully removed due to the difference in the signature
of `if-let*` and `when-let*` in Emacs 25 and 26.
|
|
|
|
| |
It's no longer needed now that we target Emacs 25.
|
| |
|
|
|
|
|
|
| |
From time to time we get odd build errors like this one:
Symbol's value as variable is void: help-mode-map
|
| |
|
| |
|
| |
|
|
|
| |
This commit also changes `cider-browse-spec-all` to use it.
|
|
|
| |
This also adds a button to jump to the spec browser straight from the doc buffer.
|
|
|
|
|
|
|
|
|
|
| |
Fix #2130.
Emacs 26 obsoletes `if-let` and `when-let`, replacing them with `if-let*` and
`when-let*`. This raises byte-compilation warnings (treated as errors) when
testing against Emacs 26.
See: http://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-26#n1278
|
| |
|
|
|
|
| |
Fixes #2056.
|
|
|
|
|
|
|
| |
Fixes #2053.
Replace custom text properties with buttons. This gives us highlights, clicks,
and navigation for free.
|
| |
|
|
|
|
| |
Prevent `(wrong-type-argument integer-or-marker-p ...)` errors.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes #2035 and fixes #2036.
- `cider-browse-spec` now has its own major mode, `cider-browse-spec-view-mode`,
which derives from `help-mode` and has forward/back xrefs.
- `cider-browse-spec--print-curr-spec-example` now puts examples in a buffer
with `cider-browse-spec-example-mode`. This allows using `revert-buffer` to
generate new examples.
- The `cider-browse-spec-navigation` stack variable and related functionality
are removed.
- `cider-browse-spec-view-mode` now derives from `help-mode`, which maintains its
own stack variables.
Future improvements:
- Allow using `TAB` and `<backtab>` in `cider-browse-spec-view-mode` to invoke
`cider-browse-spec--next-spec` and `cider-browse-spec--prev-spec`
respectively.
|
| |
|
|
|
|
|
|
|
| |
This reverts commit b89d53ef8e1a85a5e63141bde2e30fedb4466063.
The revert is a temporary solution to #2036, until the logic of browsing
and viewing specs is properly decoupled.
|
|
|
|
|
| |
All of those were making their buffers read-only explicitly, but that
behaviour is automatically inherited from special-mode.
|
|
|
|
| |
It's tedious to call `(cider-browse-spec-all "")` each time.
|
| |
|
|
|
|
| |
Remove extraneous text in title and fix font lock.
|
|
|
|
|
| |
Make presentation of specs similar to presentation of namespaces via
`cider-browse-ns-all`.
|
| |
|
| |
|
| |
|
|
|
|
| |
t is a special symbol that evaluates to itself.
|
|
|
|
|
| |
If it's not buffer-local running a couple of browser buffers would be
impossible as they would affect each other's state.
|
| |
|
|
|