Skip to content

Commit

Permalink
Replace beginning-of-defun fn
Browse files Browse the repository at this point in the history
  • Loading branch information
p4v4n authored and bbatsov committed Sep 9, 2023
1 parent b153e51 commit 9aea501
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## master (unreleased)
* Improve support for multiple forms in the same line by replacing beginning-of-defun fn.
* [#202](https://github.com/clojure-emacs/inf-clojure/issues/202): Add ClojureCLR support.
* [#204](https://github.com/clojure-emacs/inf-clojure/issues/204): Scroll repl buffer on insert commands
* [#208](https://github.com/clojure-emacs/inf-clojure/pull/208) Display message after setting repl.
Expand Down
2 changes: 1 addition & 1 deletion inf-clojure.el
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ current defun else return the string.."
(let ((end (point))
(case-fold-search t)
(func (if bounds #'cons #'buffer-substring-no-properties)))
(beginning-of-defun)
(beginning-of-defun-raw)
(funcall func (point) end))))

(defun inf-clojure-eval-defun (&optional and-go)
Expand Down

0 comments on commit 9aea501

Please sign in to comment.