From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Antipov Subject: [PATCH] Use (point-marker) instead of (move-marker (make-marker) (point)) Date: Thu, 20 Dec 2012 08:51:42 +0400 Message-ID: <50D2995E.8050608@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020809040703070103030603" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlY6G-0007bk-N1 for emacs-orgmode@gnu.org; Wed, 19 Dec 2012 23:51:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TlY6E-0006BH-Km for emacs-orgmode@gnu.org; Wed, 19 Dec 2012 23:51:16 -0500 Received: from forward7.mail.yandex.net ([77.88.61.37]:48464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlY6D-0006Ar-TK for emacs-orgmode@gnu.org; Wed, 19 Dec 2012 23:51:14 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Bastien Guerry This is a multi-part message in MIME format. --------------020809040703070103030603 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Since (point-marker) is shorter and a bit faster than (move-marker (make-marker) (point)), why not use it? Dmitry --------------020809040703070103030603 Content-Type: text/plain; charset=UTF-8; name="point-marker.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="point-marker.patch" Y29tbWl0IDE5ODhiZjBmNGE1ZTQ4NjAzMGU2YzAzYjZlYzE3MmVkZTYwOWQ0OTEKQXV0aG9y OiBEbWl0cnkgQW50aXBvdiA8ZG1hbnRpcG92QHlhbmRleC5ydT4KRGF0ZTogICBUaHUgRGVj IDIwIDA4OjQ2OjQ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mVsKSBsbWF4ICgrIGxtaW4gKGlmIG9yZy1vZGQtbGV2ZWxzLW9ubHkgMSAwKSkpCiAJICAg IChzZXRxIGVuZCAoc2F2ZS1leGN1cnNpb24gKG9yZy1lbmQtb2Ytc3VidHJlZSB0IHQpKSkp CiAJICAod2hlbiAob3JnLWF0LWhlYWRpbmctcCkKLQkgICAgKG1vdmUtbWFya2VyIChtYWtl LW1hcmtlcikgKHBvaW50KSkpKSkpKSkKKwkgICAgKHBvaW50LW1hcmtlcikpKSkpKSkKIAog KGRlZnVuIG9yZy1maW5kLWV4YWN0LWhlYWRsaW5lLWluLWJ1ZmZlciAoaGVhZGluZyAmb3B0 aW9uYWwgYnVmZmVyIHBvcy1vbmx5KQogICAiRmluZCBub2RlIEhFQURJTkcgaW4gQlVGRkVS Lgo= --------------020809040703070103030603--