]> git.eshelyaron.com Git - emacs.git/commit
Improve documentation for display property functions
authorJim Porter <jporterbugs@gmail.com>
Sat, 31 May 2025 19:11:01 +0000 (12:11 -0700)
committerEshel Yaron <me@eshelyaron.com>
Wed, 18 Jun 2025 08:04:29 +0000 (10:04 +0200)
commit293b1f83ae0967890f1f99671ccad47e7608111e
treed4d9a84ddd98615dc97354ff22a59c99a9f76ee9
parentd1953a07330c46a18925e2d2fb901741b0641298
Improve documentation for display property functions

Specifically, use the term "display specification" more consistently to
distinguish from "display property", which is the full value of the
'display' text property.

* src/xdisp.c (find_display_property): Rename PROP to SPEC.
(Fget_display_property): Rename PROP to SPEC and improve docstring.

* lisp/emacs-lisp/subr-x.el (add-display-text-property): Rename PROP to
SPEC and improve docstring.

* doc/lispref/display.texi (Display Property): Reword documentation to
more-consistently refer to display specifications.

(cherry picked from commit 24e6cd42330c341f3525e3fdc384e4a646dec733)
doc/lispref/display.texi
lisp/emacs-lisp/subr-x.el
src/xdisp.c