Skip to content

Commit

Permalink
Update cider, clojure-mode, clj-refactor, ac-cider to latest stable
Browse files Browse the repository at this point in the history
This also fixes two deprecated functions: cider-turn-on-eldoc-mode and
cider--region-for-defun-at-point.
  • Loading branch information
arichiardi committed Jul 24, 2016
1 parent a9697a2 commit ff5df95
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 16 deletions.
15 changes: 5 additions & 10 deletions packs/dev/clojure-pack/config/cider-conf.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(live-add-pack-lib "spinner-el")
(live-add-pack-lib "seq-el")
;; Current deps:
;; clojure-mode 5.0.0 / emacs 24.3 / pkg-info 0.4 / queue 0.1.1 / seq 1.9 / spinner 1.4
;; clojure-mode 5.3.0 / emacs 24.3 / pkg-info 0.4 / queue 0.1.1 / seq 1.9 / spinner 1.4
;; The dependency queue is loaded in another pack

(require 'cider)
Expand All @@ -19,15 +19,10 @@
(when (eq system-type 'windows-nt)
(add-hook 'nrepl-mode-hook 'live-windows-hide-eol ))

(add-hook 'cider-repl-mode-hook
(lambda ()
(cider-turn-on-eldoc-mode)
(paredit-mode 1)))

(add-hook 'cider-mode-hook
(lambda ()
(cider-turn-on-eldoc-mode)
(paredit-mode 1)))
(add-hook 'cider-mode-hook 'eldoc-mode)
(add-hook 'cider-mode-hook 'paredit-mode)
(add-hook 'cider-repl-mode-hook 'paredit-mode)
(add-hook 'cider-repl-mode-hook 'eldoc-mode)

(setq cider-popup-stacktraces t)
(setq cider-popup-stacktraces-in-repl t)
Expand Down
2 changes: 1 addition & 1 deletion packs/dev/clojure-pack/config/highlight-flash-conf.el
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
(eval-sexp-fu-flash (live-bounds-of-cider-last-sexp)))

(define-eval-sexp-fu-flash-command cider-eval-defun-at-point
(eval-sexp-fu-flash (let ((bounds (cider--region-for-defun-at-point)))
(eval-sexp-fu-flash (let ((bounds (cider-defun-at-point 'bounds)))
(cons (first bounds) (second bounds)))))


Expand Down
2 changes: 1 addition & 1 deletion packs/dev/clojure-pack/vendor/submodules/ac-cider
Submodule ac-cider updated 1 files
+2 −2 ac-cider.el
2 changes: 1 addition & 1 deletion packs/dev/clojure-pack/vendor/submodules/cider
Submodule cider updated 85 files
+2 −0 .dir-locals.el
+5 −3 .github/CONTRIBUTING.md
+21 −9 .github/ISSUE_TEMPLATE.md
+2 −1 .github/PULL_REQUEST_TEMPLATE.md
+1 −1 .travis.yml
+69 −28 CHANGELOG.md
+2 −1 Cask
+46 −1,653 README.md
+67 −5 cider-apropos.el
+1 −1 cider-browse-ns.el
+1 −1 cider-classpath.el
+54 −36 cider-client.el
+19 −7 cider-common.el
+2 −2 cider-compat.el
+121 −90 cider-debug.el
+26 −7 cider-doc.el
+66 −28 cider-eldoc.el
+2 −2 cider-grimoire.el
+2 −2 cider-inspector.el
+98 −108 cider-interaction.el
+3 −2 cider-macroexpansion.el
+187 −83 cider-mode.el
+20 −12 cider-overlays.el
+2 −2 cider-popup.el
+26 −22 cider-repl.el
+5 −5 cider-resolve.el
+2 −1 cider-scratch.el
+4 −3 cider-selector.el
+114 −9 cider-stacktrace.el
+90 −41 cider-test.el
+77 −69 cider-util.el
+52 −59 cider.el
+1 −0 doc/about/changelog.md
+92 −0 doc/about/contributing.md
+7 −0 doc/about/license.md
+6 −0 doc/about/logo.md
+15 −0 doc/about/release_policy.md
+38 −0 doc/about/support.md
+21 −0 doc/about/team.md
+112 −0 doc/additional_packages.md
+18 −0 doc/additional_resources.md
+85 −0 doc/caveats.md
+74 −0 doc/code_completion.md
+225 −0 doc/configuration.md
+14 −0 doc/css/extra.css
+184 −0 doc/debugging.md
+ doc/favicon.ico
+ doc/images/cider-overview.png
+ doc/images/cider-which-key.png
+ doc/images/cider_debugger.gif
+ doc/images/classpath_browser.png
+ doc/images/code_completion.png
+ doc/images/completion-annotations.png
+ doc/images/eldoc.png
+ doc/images/enlighten-off.png
+ doc/images/enlighten-on.png
+ doc/images/enlighten_off.png
+ doc/images/enlighten_on.png
+ doc/images/menu_example.png
+ doc/images/ns_browser.png
+ doc/images/tracing.png
+2 −2 doc/indent_spec.md
+99 −0 doc/index.md
+138 −0 doc/installation.md
+81 −0 doc/interactive_programming.md
+55 −0 doc/managing_connections.md
+187 −0 doc/miscellaneous_features.md
+80 −0 doc/navigating_stacktraces.md
+74 −0 doc/running_tests.md
+123 −0 doc/troubleshooting.md
+187 −0 doc/up_and_running.md
+227 −0 doc/using_the_repl.md
+34 −0 mkdocs.yml
+62 −56 nrepl-client.el
+21 −0 test/cider-apropos-tests.el
+15 −14 test/cider-classpath-tests.el
+143 −94 test/cider-client-tests.el
+75 −67 test/cider-error-parsing-tests.el
+14 −13 test/cider-grimoire-tests.el
+51 −39 test/cider-overlay-tests.el
+56 −0 test/cider-stacktrace-tests.el
+1 −1 test/cider-tests--no-auto.el
+70 −15 test/cider-tests.el
+28 −24 test/cider-util-tests.el
+81 −9 test/nrepl-dict-tests.el
Submodule cider-eval-sexp-fu updated 1 files
+1 −1 cider-eval-sexp-fu.el
2 changes: 1 addition & 1 deletion packs/dev/clojure-pack/vendor/submodules/clj-refactor
Submodule clj-refactor updated from 9c628f to 531a09

0 comments on commit ff5df95

Please sign in to comment.