]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/sql.el (comint-line-beginning-position):
authorGlenn Morris <rgm@gnu.org>
Wed, 25 Apr 2018 18:41:41 +0000 (14:41 -0400)
committerGlenn Morris <rgm@gnu.org>
Wed, 25 Apr 2018 18:41:41 +0000 (14:41 -0400)
Remove pre-21 fallback definition.

lisp/progmodes/sql.el

index 4d291c3bde835f6900a92b5acaec3ee905837e91..64651aff114268a8fe9a59a292f943118d808391 100644 (file)
@@ -2715,17 +2715,6 @@ adds a fontification pattern to fontify identifiers ending in
   (sql-highlight-product))
 \f
 
-;;; Compatibility functions
-
-(if (not (fboundp 'comint-line-beginning-position))
-    ;; comint-line-beginning-position is defined in Emacs 21
-    (defun comint-line-beginning-position ()
-      "Return the buffer position of the beginning of the line, after any prompt.
-The prompt is assumed to be any text at the beginning of the line
-matching the regular expression `comint-prompt-regexp', a buffer
-local variable."
-      (save-excursion (comint-bol nil) (point))))
-
 ;;; SMIE support
 
 ;; Needs a lot more love than I can provide.  --Stef