Mercurial > emacs
comparison lisp/textmodes/enriched.el @ 51962:d4560e85f83c
(enriched-decode-display-prop): Doc fix.
author | John Paul Wallington <jpw@pobox.com> |
---|---|
date | Sat, 19 Jul 2003 16:22:35 +0000 |
parents | dd8d7c8c6ae8 |
children | 695cf19ef79e |
comparison
equal
deleted
inserted
replaced
51961:e56cb5adb76f | 51962:d4560e85f83c |
---|---|
460 | 460 |
461 (defun enriched-decode-display-prop (start end &optional param) | 461 (defun enriched-decode-display-prop (start end &optional param) |
462 "Decode a `display' property for text between START and END. | 462 "Decode a `display' property for text between START and END. |
463 PARAM is a `<param>' found for the property. | 463 PARAM is a `<param>' found for the property. |
464 Value is a list `(START END SYMBOL VALUE)' with START and END denoting | 464 Value is a list `(START END SYMBOL VALUE)' with START and END denoting |
465 the range of text to assign text property SYMBOL with value VALUE " | 465 the range of text to assign text property SYMBOL with value VALUE." |
466 (let ((prop (when (stringp param) | 466 (let ((prop (when (stringp param) |
467 (condition-case () | 467 (condition-case () |
468 (car (read-from-string param)) | 468 (car (read-from-string param)) |
469 (error nil))))) | 469 (error nil))))) |
470 (unless prop | 470 (unless prop |