branch: elpa/inf-clojure commit 6c49bfe194716f42ff69b37d599522d281b5e0b7 Author: Bozhidar Batsov <bozhi...@batsov.com> Commit: Bozhidar Batsov <bozhi...@batsov.com>
Remove inf-clojure-eval-paragraph This is not something that's commonly used, so we're better off without it. --- inf-clojure.el | 9 --------- 1 file changed, 9 deletions(-) diff --git a/inf-clojure.el b/inf-clojure.el index 9fbc2ee..7f1d80e 100644 --- a/inf-clojure.el +++ b/inf-clojure.el @@ -93,7 +93,6 @@ mode. Default is whitespace followed by 0 or 1 single-letter colon-keyword (define-key map "\C-c\C-b" #'inf-clojure-eval-buffer) (define-key map "\C-c\C-r" #'inf-clojure-eval-region) (define-key map "\C-c\C-n" #'inf-clojure-eval-form-and-next) - (define-key map "\C-c\C-p" #'inf-clojure-eval-paragraph) (define-key map "\C-c\C-z" #'inf-clojure-switch-to-repl) (define-key map "\C-c\C-i" #'inf-clojure-show-ns-vars) (define-key map "\C-c\C-A" #'inf-clojure-apropos) @@ -320,14 +319,6 @@ of `inf-clojure-program'). Runs the hooks from ;;;###autoload (defalias 'run-clojure 'inf-clojure) -(defun inf-clojure-eval-paragraph (&optional and-go) - "Send the current paragraph to the inferior Clojure process. -Prefix argument means switch to the Clojure buffer afterwards." - (interactive "P") - (save-excursion - (mark-paragraph) - (inf-clojure-eval-region (point) (mark) and-go))) - (defun inf-clojure-eval-region (start end &optional and-go) "Send the current region to the inferior Clojure process. Prefix argument means switch to the Clojure buffer afterwards."