Update comment about comint-osc-handlers

* lisp/comint.el: Update comment about comint-osc-handlers.
This commit is contained in:
Matthias Meulien 2022-05-17 23:36:27 +02:00 committed by Lars Ingebrigtsen
parent 092aea9a27
commit 01f48477d0

View file

@ -3978,10 +3978,12 @@ REGEXP-GROUP is the regular expression group in REGEXP to use."
;;; OSC escape sequences (Operating System Commands)
;;============================================================================
;; Adding `comint-osc-process-output' to `comint-output-filter-functions'
;; enables the interpretation of OSC escape sequences. By default, only
;; OSC 8, for hyperlinks, is acted upon. Adding more entries to
;; `comint-osc-handlers' allows a customized treatment of further sequences.
;; Adding `comint-osc-process-output' to
;; `comint-output-filter-functions' enables the interpretation of OSC
;; escape sequences. By default, OSC 7 and 8 (for current directory
;; and hyperlinks respectively) are acted upon. Adding more entries
;; to `comint-osc-handlers' allows a customized treatment of further
;; sequences.
(defvar-local comint-osc-handlers '(("7" . comint-osc-directory-tracker)
("8" . comint-osc-hyperlink-handler))