Skip to content

Commit

Permalink
Fix space in edebug-eval-expression.
Browse files Browse the repository at this point in the history
When typing in `edebug-eval-expression` with `lispy-mode`
on (`lispy-mode` was enabled for eval-expression), "SPC" key is always
forwarded to `edebug-step-mode`, making it hard to type " " without
`quote-insert` ("C-q").
  • Loading branch information
dantlev01 committed Mar 15, 2021
1 parent 38a7df4 commit cdb19c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lispy.el
Expand Up @@ -1902,7 +1902,8 @@ If jammed between parens, \"(|(\" unjam: \"(| (\". If after an opening delimiter
and before a space (after wrapping a sexp, for example), do the opposite and
delete the extra space, \"(| foo)\" to \"(|foo)\"."
(interactive "p")
(cond ((bound-and-true-p edebug-active)
(cond ((and (bound-and-true-p edebug-active)
(lispy--edebug-commandp))
(edebug-step-mode))
((region-active-p)
(goto-char (region-end))
Expand Down

0 comments on commit cdb19c3

Please sign in to comment.