emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `add-face'


From: Lars Ingebrigtsen
Subject: Re: `add-face'
Date: Sun, 09 Sep 2012 19:31:57 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux)

Chong Yidong <address@hidden> writes:

> Could you please post the proposed docstring for the amended
> add-text-properties?  Thanks.

  DEFUN ("add-text-properties", Fadd_text_properties,
!        Sadd_text_properties, 3, 5, 0,
         doc: /* Add properties to the text from START to END.
  The third argument PROPERTIES is a property list
  specifying the property values to add.  If the optional fourth argument
  OBJECT is a buffer (or nil, which means the current buffer),
  START and END are buffer positions (integers or markers).
  If OBJECT is a string, START and END are 0-based indices into it.
+ If NOREPLACE, add the text properties instead of replacing any
+ existing ones.  This is mainly useful for faces.
  Return t if any property value actually changed, nil otherwise.  */)
!   (Lisp_Object start, Lisp_Object end, Lisp_Object properties,
!    Lisp_Object object, Lisp_Object noreplace)


-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]