From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: `add-face' Date: Sun, 09 Sep 2012 19:31:57 +0200 Message-ID: <87bohf14s2.fsf@gnus.org> References: <87harbgnez.fsf@gnus.org> <87wr06tqj9.fsf@gnu.org> <87wr06gg30.fsf@gnus.org> <87pq5yq7sb.fsf@gnu.org> <87r4qegd3w.fsf@gnus.org> <87pq5vvgjj.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347211941 7380 80.91.229.3 (9 Sep 2012 17:32:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Sep 2012 17:32:21 +0000 (UTC) Cc: Wolfgang Jenkner , emacs devel To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 09 19:32:23 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TAlMr-0000Ny-IB for ged-emacs-devel@m.gmane.org; Sun, 09 Sep 2012 19:32:21 +0200 Original-Received: from localhost ([::1]:51460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAlMo-0005ng-7b for ged-emacs-devel@m.gmane.org; Sun, 09 Sep 2012 13:32:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAlMl-0005nW-SP for emacs-devel@gnu.org; Sun, 09 Sep 2012 13:32:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TAlMk-0006bu-HF for emacs-devel@gnu.org; Sun, 09 Sep 2012 13:32:15 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:56646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAlMk-0006ah-AB; Sun, 09 Sep 2012 13:32:14 -0400 Original-Received: from ip-165-52-149-91.dialup.ice.net ([91.149.52.165] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TAlMW-00022Q-DM; Sun, 09 Sep 2012 19:32:01 +0200 X-Now-Playing: Winston Tong's _Theoretically Chinese_ In-Reply-To: <87pq5vvgjj.fsf@gnu.org> (Chong Yidong's message of "Sun, 09 Sep 2012 14:47:28 +0800") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) X-MailScanner-ID: 1TAlMW-00022Q-DM MailScanner-NULL-Check: 1347816721.11638@chEwajRoGtGasu+F7YIaJA X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:153201 Archived-At: Chong Yidong 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