From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Prevent auto-fill-mode from filling Property values in drawers Date: Sun, 11 Feb 2018 14:12:34 +0100 Message-ID: <87r2prbrgd.fsf@nicolasgoaziou.fr> References: <87shaiuoxe.fsf@nicolasgoaziou.fr> <87d11muofz.fsf@nicolasgoaziou.fr> <87372i82p5.fsf@alphaville.usersys.redhat.com> <874lmxvhwb.fsf@nicolasgoaziou.fr> <87y3k8h034.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekrQu-0006XP-QM for emacs-orgmode@gnu.org; Sun, 11 Feb 2018 08:12:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekrQs-0002Rs-BE for emacs-orgmode@gnu.org; Sun, 11 Feb 2018 08:12:39 -0500 Received: from relay2-d.mail.gandi.net ([2001:4b98:c:538::194]:59707) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ekrQs-0002QS-4v for emacs-orgmode@gnu.org; Sun, 11 Feb 2018 08:12:38 -0500 In-Reply-To: (Kaushal Modi's message of "Mon, 05 Feb 2018 21:59:40 +0000") 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" To: Kaushal Modi Cc: Nick Dokos , emacs-orgmode@gnu.org Hello, Kaushal Modi writes: > + (t (let ((auto-fill-function (if (org-at-property-p) > + nil > + auto-fill-function))) (and (not (org-at-property-p)) auto-fill-function) Could you add a comment explaining why this is needed? Also, could you add a proper commit message to the patch? Thank you. Regards, -- Nicolas Goaziou 0x80A93738