[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 93b40da: Remove some compat code from python.el
From: |
Lars Ingebrigtsen |
Subject: |
master 93b40da: Remove some compat code from python.el |
Date: |
Wed, 13 Oct 2021 12:35:09 -0400 (EDT) |
branch: master
commit 93b40da8e1c0ef418c716ee62b8e8fdecc16cd44
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Remove some compat code from python.el
* lisp/progmodes/python.el
(python-shell-font-lock-post-command-hook): Remove Emacs 24.3 and
earlier compat code.
---
lisp/progmodes/python.el | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index f1dab76..75aae23 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2731,11 +2731,7 @@ goes wrong and syntax highlighting in the shell gets
messed up."
(point-max))
(setq font-lock-buffer-pos (point))
(insert input)
- ;; Ensure buffer is fontified, keeping it
- ;; compatible with Emacs < 24.4.
- (if (fboundp 'font-lock-ensure)
- (funcall 'font-lock-ensure)
- (font-lock-default-fontify-buffer))
+ (font-lock-ensure)
(buffer-substring font-lock-buffer-pos
(point-max))))
(replacement-length (length replacement))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 93b40da: Remove some compat code from python.el,
Lars Ingebrigtsen <=