From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Org-mode and fill-nobreak-predicate Date: Sun, 04 Jan 2015 12:24:47 +0100 Message-ID: <87ppaueqkg.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7jIo-0001E8-KB for emacs-orgmode@gnu.org; Sun, 04 Jan 2015 06:24:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7jIl-0001nO-Fg for emacs-orgmode@gnu.org; Sun, 04 Jan 2015 06:24:58 -0500 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:50290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7jIl-0001nF-8t for emacs-orgmode@gnu.org; Sun, 04 Jan 2015 06:24:55 -0500 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id DD369414CF for ; Sun, 4 Jan 2015 12:24:51 +0100 (CET) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9B0RYxp1KEYA for ; Sun, 4 Jan 2015 12:24:51 +0100 (CET) Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 8A4DF414CE for ; Sun, 4 Jan 2015 12:24:51 +0100 (CET) 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: Org-Mode mailing list Hello list, I've just installed Emacs 25 (I only had 24.3 before), and was eager to try out some cool new features. I put this in my init.el: (add-hook 'fill-nobreak-predicate #'fill-single-char-nobreak-p) But it won't work in Org-mode: it turns out that Org sets fill-nobreak-predicate, too. What should I do? Should I put my add-hook /in the org-mode-hook/? TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University