From 01f48477d06f5b099aa71637bd690fef61d162d8 Mon Sep 17 00:00:00 2001 From: Matthias Meulien Date: Tue, 17 May 2022 23:36:27 +0200 Subject: [PATCH] Update comment about comint-osc-handlers * lisp/comint.el: Update comment about comint-osc-handlers. --- lisp/comint.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lisp/comint.el b/lisp/comint.el index 3dc80c20acb..3da61fb992f 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -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)) -- 2.39.2