Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix slime hook #107

Closed
wants to merge 1 commit into from

2 participants

@jd
jd commented

When I start slime, I've this error:
Debugger entered--Lisp error: (wrong-number-of-arguments (lambda (sym indent) (put sym (quote clojure-indent-function) indent)) 3)

Because slime calls its hook with 3 arguments and not 2.

Signed-off-by: Julien Danjou julien@danjou.info

@jd jd Fix put-clojure-indent and slime
When I start slime, I've this error:
Debugger entered--Lisp error: (wrong-number-of-arguments (lambda (sym indent) (put sym (quote clojure-indent-function) indent)) 3)

Because slime calls its hook with 3 arguments and not 2.

Signed-off-by: Julien Danjou <julien@danjou.info>
ec9f53c
@technomancy

Sorry, we've removed this out of clojure-mode, it now only supports static operations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 18, 2012
  1. @jd

    Fix put-clojure-indent and slime

    jd authored
    When I start slime, I've this error:
    Debugger entered--Lisp error: (wrong-number-of-arguments (lambda (sym indent) (put sym (quote clojure-indent-function) indent)) 3)
    
    Because slime calls its hook with 3 arguments and not 2.
    
    Signed-off-by: Julien Danjou <julien@danjou.info>
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  clojure-mode.el
View
2  clojure-mode.el
@@ -754,7 +754,7 @@ check for contextual indenting."
(put 'extend-type 'clojure-backtracking-indent '(4 (2)))
(put 'extend-protocol 'clojure-backtracking-indent '(4 (2)))
-(defun put-clojure-indent (sym indent)
+(defun put-clojure-indent (sym indent &optional packages)
(put sym 'clojure-indent-function indent))
(defmacro define-clojure-indent (&rest kvs)
Something went wrong with that request. Please try again.