branch: elpa/clojure-mode
commit a7299daf7365daa3170e2b8623adb3cfd30819f6
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>

    Remove dead code clojure-char-at-point and clojure-char-before-point
    
    These functions have been unused since the removal of
    clojure-mark-string and clojure-string-end in 2015.
---
 clojure-mode.el | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/clojure-mode.el b/clojure-mode.el
index d042e0cc38..c74cdabd56 100644
--- a/clojure-mode.el
+++ b/clojure-mode.el
@@ -2000,16 +2000,6 @@ nil."
             (and hash (1- beg))
           (and (not hash) beg))))))
 
-(defun clojure-char-at-point ()
-  "Return the char at point or nil if at buffer end."
-  (when (not (= (point) (point-max)))
-    (buffer-substring-no-properties (point) (1+ (point)))))
-
-(defun clojure-char-before-point ()
-  "Return the char before point or nil if at buffer beginning."
-  (when (not (= (point) (point-min)))
-    (buffer-substring-no-properties (point) (1- (point)))))
-
 (defun clojure-toggle-keyword-string ()
   "Convert the string or keyword at point to keyword or string."
   (interactive)

Reply via email to