aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-01-05 09:05:35 +0000
committerRichard M. Stallman2002-01-05 09:05:35 +0000
commitb8a8267bcbba3bb1909315031f763309245ba309 (patch)
treeb7c5415a3a5c06be3afc8c25f976af4d4f84843b
parent30c6d055a96a4b7049d8a7d36ef3fa92907804dd (diff)
downloademacs-b8a8267bcbba3bb1909315031f763309245ba309.tar.gz
emacs-b8a8267bcbba3bb1909315031f763309245ba309.zip
(enriched-make-annotation): Doc fix.
-rw-r--r--lisp/enriched.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/enriched.el b/lisp/enriched.el
index dec6c66e483..d3bd7084d15 100644
--- a/lisp/enriched.el
+++ b/lisp/enriched.el
@@ -310,10 +310,11 @@ the region, and the START and END of each region."
310 ;; Return new end. 310 ;; Return new end.
311 (point-max))) 311 (point-max)))
312 312
313(defun enriched-make-annotation (name positive) 313(defun enriched-make-annotation (internal-ann positive)
314 "Format an annotation called NAME. 314 "Format an annotation INTERNAL-ANN.
315If POSITIVE is non-nil, this is the opening annotation, if nil, this is the 315INTERNAL-ANN may be a string, for a flag, or a list of the form (PARAM VALUE).
316matching close." 316If POSITIVE is non-nil, this is the opening annotation;
317if nil, the matching close."
317 (cond ((stringp name) 318 (cond ((stringp name)
318 (format enriched-annotation-format (if positive "" "/") name)) 319 (format enriched-annotation-format (if positive "" "/") name))
319 ;; Otherwise it is an annotation with parameters, represented as a list 320 ;; Otherwise it is an annotation with parameters, represented as a list