summaryrefslogtreecommitdiff
path: root/lisp/ielm.el
diff options
context:
space:
mode:
authorMiha Rihtaršič <miha@kamnitnik.top>2022-09-30 20:28:15 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-09-30 21:15:06 +0200
commitcd4208f6d8e4bcbfa326a2b70489ee3c0643e53f (patch)
treeaf7a9d836b19a896b1598ee1e0c2e20bbf81d6af /lisp/ielm.el
parent90744ff0be581b69cedea1194b7e78265bdb67a4 (diff)
downloademacs-cd4208f6d8e4bcbfa326a2b70489ee3c0643e53f.tar.gz
Rename comint-fl-* to comint-fontify-input-* and mention it in NEWS
* lisp/comint.el (comint-fontify-input-mode): (comint--fontify-input-saved-jit-lock-contextually): (comint--fontify-input-on): (comint--fontify-input-off): (comint--fontify-input-ppss-flush-indirect): (comint--fontify-input-fontify-region): Replace comint-fl-* with comint-fontify-input-*. * lisp/ielm.el (ielm-fontify-input-enable): (ielm-fontify-input-enable): (ielm-indirect-setup-hook): (inferior-emacs-lisp-mode): Replace comint-fl-* with comint-fontify-input-*. * lisp/shell.el (shell-comint-fl-enable): (shell-mode): Replace comint-fl-* with comint-fontify-input-*. * etc/NEWS: Mention the new modes and how to disable or enable them (bug#58169).
Diffstat (limited to 'lisp/ielm.el')
-rw-r--r--lisp/ielm.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/ielm.el b/lisp/ielm.el
index ad41cb1f6bd..fd41afa2437 100644
--- a/lisp/ielm.el
+++ b/lisp/ielm.el
@@ -474,11 +474,11 @@ nonempty, then flushes the buffer."
;;; Input fontification
-(defcustom ielm-comint-fl-enable t
+(defcustom ielm-fontify-input-enable t
"Enable fontification of input in ielm buffers.
This variable only has effect when creating an ielm buffer. Use
-the command `comint-fl-mode' to toggle fontification of input in
-an already existing ielm buffer."
+the command `comint-fontify-input-mode' to toggle fontification
+of input in an already existing ielm buffer."
:type 'boolean
:safe 'booleanp
:version "29.1")
@@ -556,8 +556,8 @@ Customized bindings may be defined in `ielm-map', which currently contains:
:syntax-table emacs-lisp-mode-syntax-table
:after-hook
(and (null comint-use-prompt-regexp)
- ielm-comint-fl-enable
- (comint-fl-mode))
+ ielm-fontify-input-enable
+ (comint-fontify-input-mode))
(setq comint-prompt-regexp (concat "^" (regexp-quote ielm-prompt)))
(setq-local paragraph-separate "\\'")