summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMiha Rihtaršič <miha@kamnitnik.top>2021-10-05 11:14:22 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-10-06 10:50:34 +0200
commita8b2d858995398b184b57af85eb08565537650bc (patch)
tree5dbf617b1fb19b7aff5ccd82e666617baf78f8d4 /lisp
parent8b67eef5a1ce761230feb804d0ec17bf5f214730 (diff)
downloademacs-a8b2d858995398b184b57af85eb08565537650bc.tar.gz
emacs-a8b2d858995398b184b57af85eb08565537650bc.tar.bz2
emacs-a8b2d858995398b184b57af85eb08565537650bc.zip
Documentation fixes for recent ansi-color additions
* lisp/ansi-color.el (ansi-color-context-region): Improve formatting. * lisp/term.el (term-ansi-face-already-done): (term-handle-colors-array): Fix obsoleting version (bug#50806).
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ansi-color.el4
-rw-r--r--lisp/term.el4
2 files changed, 4 insertions, 4 deletions
diff --git a/lisp/ansi-color.el b/lisp/ansi-color.el
index aaaf60cd00d..2e51264ec39 100644
--- a/lisp/ansi-color.el
+++ b/lisp/ansi-color.el
@@ -656,9 +656,9 @@ COLOR is less than 16."
"Context saved between two calls to `ansi-color-apply-on-region'.
This is a list of the form (FACE-VEC MARKER) or nil. FACE-VEC
represents the state the last call to `ansi-color-apply-on-region'
-ended with, currently a list of the form
+ended with, currently a list of the form:
-(BASIC-FACES FG BG).
+ (BASIC-FACES FG BG).
BASIC-FACES is a bool-vector that specifies which basic faces
from `ansi-color-basic-faces-vector' to apply. FG and BG are
diff --git a/lisp/term.el b/lisp/term.el
index ce086c379b7..0e36e877e61 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -723,7 +723,7 @@ Buffer local variable.")
(defvar term-ansi-current-invisible nil)
(make-obsolete-variable 'term-ansi-face-already-done
- "it doesn't have any effect." "28.1")
+ "it doesn't have any effect." "29.1")
;;; Faces
(defvar ansi-term-color-vector
@@ -3346,7 +3346,7 @@ otherwise use the current foreground color."
;; have any bold/underline/fg/bg/reverse combination. -mm
(defun term-handle-colors-array (parameter)
- (declare (obsolete term--handle-colors-list "28.1"))
+ (declare (obsolete term--handle-colors-list "29.1"))
(term--handle-colors-list (list parameter)))
(defun term--handle-colors-list (parameters)