]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix last change to comint.el
authorBasil L. Contovounesios <contovob@tcd.ie>
Wed, 19 Aug 2020 11:37:03 +0000 (12:37 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Wed, 19 Aug 2020 11:47:51 +0000 (12:47 +0100)
* lisp/comint.el (comint-highlight-input): Add :version tag.
(comint-send-input): Fix indentation.

lisp/comint.el

index 4094969ae8e7e9b4b5fd4dcc47d2593ba45d7d73..092902d865ec61a2f1744e6291d334ab9c6b8960 100644 (file)
@@ -226,6 +226,7 @@ This variable is buffer-local."
 (defcustom comint-highlight-input t
   "If non-nil, highlight input with `comint-highlight-input' face.
 Otherwise keep the original highlighting untouched."
+  :version "28.1"
   :type 'boolean
   :group 'comint)
 
@@ -1904,9 +1905,9 @@ Similarly for Soar, Scheme, etc."
           (with-silent-modifications
             (when (> end beg)
               (when comint-highlight-input
-               (add-text-properties beg end
-                                    '(front-sticky t
-                                      font-lock-face comint-highlight-input)))
+                (add-text-properties beg end
+                                     '( font-lock-face comint-highlight-input
+                                        front-sticky t )))
               (unless comint-use-prompt-regexp
                 ;; Give old user input a field property of `input', to
                 ;; distinguish it from both process output and unsent