From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleh Krehel Subject: Re: Ediff org files starts folded Date: Wed, 25 Oct 2017 20:30:26 +0200 Message-ID: References: <8737671fz4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7QRh-0005On-PZ for emacs-orgmode@gnu.org; Wed, 25 Oct 2017 14:30:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7QRh-0000ki-2f for emacs-orgmode@gnu.org; Wed, 25 Oct 2017 14:30:29 -0400 Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]:55357) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e7QRg-0000jZ-SQ for emacs-orgmode@gnu.org; Wed, 25 Oct 2017 14:30:28 -0400 Received: by mail-pf0-x22c.google.com with SMTP id 17so577831pfn.12 for ; Wed, 25 Oct 2017 11:30:27 -0700 (PDT) In-Reply-To: <8737671fz4.fsf@gmail.com> 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: Alex Branham Cc: Org-mode Here's what I use: (defun ora-ediff-prepare-buffer () (when (memq major-mode '(org-mode emacs-lisp-mode)) (outline-show-all))) (add-hook 'ediff-prepare-buffer-hook 'ora-ediff-prepare-buffer) regards, Oleh