summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMatthias Meulien <orontee@gmail.com>2022-09-19 20:47:00 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-09-19 20:47:00 +0200
commitd6b25b84bc8cde6b8d396b073945c8340e6ca40d (patch)
tree476ca3a1af0a554286186f0bbda84713f97c1d64 /lisp
parent0275b3a63168f66f3d1a5e8ac96200533519aa27 (diff)
downloademacs-d6b25b84bc8cde6b8d396b073945c8340e6ca40d.tar.gz
emacs-d6b25b84bc8cde6b8d396b073945c8340e6ca40d.tar.bz2
emacs-d6b25b84bc8cde6b8d396b073945c8340e6ca40d.zip
Minor touch-ups of some recent OSC stuff
* lisp/comint.el (comint-osc-handlers): (comint-osc-hyperlink-map): Use defvaralias (bug#57821). * lisp/osc.el: Fix some comments.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/comint.el4
-rw-r--r--lisp/osc.el10
2 files changed, 7 insertions, 7 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index afaa27c2c0a..b2a04ea55ae 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -3916,11 +3916,11 @@ REGEXP-GROUP is the regular expression group in REGEXP to use."
;; sequences.
;; Aliases defined for reverse compatibility
-(defalias 'comint-osc-handlers 'osc-handlers)
+(defvaralias 'comint-osc-handlers 'osc-handlers)
(defalias 'comint-osc-directory-tracker 'osc-directory-tracker)
(defalias 'comint-osc-hyperlink-handler 'osc-hyperlink-handler)
(defalias 'comint-osc-hyperlink 'osc-hyperlink)
-(defalias 'comint-osc-hyperlink-map 'osc-hyperlink-map)
+(defvaralias 'comint-osc-hyperlink-map 'osc-hyperlink-map)
(defun comint-osc-process-output (_)
"Interpret OSC escape sequences in comint output.
diff --git a/lisp/osc.el b/lisp/osc.el
index 8f4cd630ba0..14f7fe6a4f3 100644
--- a/lisp/osc.el
+++ b/lisp/osc.el
@@ -22,14 +22,14 @@
;;; Commentary:
-;; Interpretation of OSC (Operating System Commands) escape
-;; sequences. Handlers for OSC 2, 7 and 8 (for window title, current
-;; directory and hyperlinks respectively) are provided.
+;; Interpretation of OSC (Operating System Commands) escape sequences.
+;; Handlers for OSC 2, 7 and 8 (for window title, current directory
+;; and hyperlinks respectively) are provided.
;; The function `osc-compilation-filter' can be added to
;; `compilation-filter-hook' to collect OSC sequences in compilation
-;; buffers. The variable `osc-for-compilation-buffer' tells what to do
-;; with collected sequences.
+;; buffers. The variable `osc-for-compilation-buffer' tells what to
+;; do with collected sequences.
;;; Code: