From 92308d3a2af481d69783a0984d3eac067414bb71 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 3 Apr 2002 15:29:25 +0000 Subject: [PATCH] (format-deannotate-region): Doc fix. --- lisp/ChangeLog | 8 ++++++++ lisp/format.el | 15 +++++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b309e920fc9..cccbd3a1770 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,13 @@ 2002-04-03 Richard M. Stallman + * format.el (format-deannotate-region): Doc fix. + + * enriched.el (enriched-face-ans): Delete special treatment + for fg:... and bg:... faces. + (enriched-decode-foreground): Return a list that specifies + the foreground color, rather than creating a face. + (enriched-decode-background): Likewise. + * shell.el (shell-mode): Don't reinit comint-input-ring if that was already done. diff --git a/lisp/format.el b/lisp/format.el index d5b4c859d8a..e8298a5d47a 100644 --- a/lisp/format.el +++ b/lisp/format.el @@ -565,12 +565,15 @@ the TRANSLATIONS list: PARAMETER and FUNCTION \(spelled in uppercase). Annotations listed under the pseudo-property PARAMETER are considered to be arguments of the immediately surrounding annotation; the text between the opening and closing parameter annotations is deleted from the buffer but saved -as a string. The surrounding annotation should be listed under the -pseudo-property FUNCTION. Instead of inserting a text-property for this -annotation, the function listed in the VALUE slot is called to make whatever -changes are appropriate. The function's first two arguments are the START and -END locations, and the rest of the arguments are any PARAMETERs found in that -region. +as a string. + +The surrounding annotation should be listed under the pseudo-property +FUNCTION. Instead of inserting a text-property for this annotation, +the function listed in the VALUE slot is called to make whatever +changes are appropriate. It can also return a list of the form +\(START LOC PROP VALUE) which specifies a property to put on. The +function's first two arguments are the START and END locations, and +the rest of the arguments are any PARAMETERs found in that region. Any annotations that are found by NEXT-FN but not defined by TRANSLATIONS are saved as values of the `unknown' text-property \(which is list-valued). -- 2.39.5