]> git.eshelyaron.com Git - emacs.git/commitdiff
Documentation fixes for recent ansi-color additions
authorMiha Rihtaršič <miha@kamnitnik.top>
Tue, 5 Oct 2021 09:14:22 +0000 (11:14 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 6 Oct 2021 08:50:34 +0000 (10:50 +0200)
* 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).

lisp/ansi-color.el
lisp/term.el

index aaaf60cd00da755916911a75b642b85d36d7c6ad..2e51264ec39d5964c0da4693a2b688dae68ba2f5 100644 (file)
@@ -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
index ce086c379b7da397bee65a67d3d59849360fc9bb..0e36e877e610de82e96b06bbf03fbdcd83f3faf9 100644 (file)
@@ -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)