emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master bb902bf 2/4: * lisp/progmodes/sql.el (comint-line-b


From: Glenn Morris
Subject: [Emacs-diffs] master bb902bf 2/4: * lisp/progmodes/sql.el (comint-line-beginning-position):
Date: Wed, 25 Apr 2018 14:48:55 -0400 (EDT)

branch: master
commit bb902bf6a5629df9d54a5caf3d9ce2153f1a84c5
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * lisp/progmodes/sql.el (comint-line-beginning-position):
    Remove pre-21 fallback definition.
---
 lisp/progmodes/sql.el | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index 4d291c3..64651af 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -2715,17 +2715,6 @@ adds a fontification pattern to fontify identifiers 
ending in
   (sql-highlight-product))
 
 
-;;; 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]