From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Branham Subject: Re: Ediff org files starts folded Date: Wed, 25 Oct 2017 13:43:18 -0500 Message-ID: <87she7ysop.fsf@gmail.com> References: <8737671fz4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7QeD-0007im-KC for emacs-orgmode@gnu.org; Wed, 25 Oct 2017 14:43:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7Qe8-0002B4-NZ for emacs-orgmode@gnu.org; Wed, 25 Oct 2017 14:43:25 -0400 Received: from mail-oi0-x235.google.com ([2607:f8b0:4003:c06::235]:51919) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e7Qe8-0002AZ-Hm for emacs-orgmode@gnu.org; Wed, 25 Oct 2017 14:43:20 -0400 Received: by mail-oi0-x235.google.com with SMTP id j126so1665914oib.8 for ; Wed, 25 Oct 2017 11:43:20 -0700 (PDT) In-reply-to: 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: Oleh Krehel Cc: Org-mode Thanks, I think this does exactly what I was looking for! Alex On Wed 25 Oct 2017 at 18:30, Oleh Krehel wrote: > 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