From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stig Brautaset Subject: Re: Ediff org files starts folded Date: Thu, 02 Nov 2017 23:54:13 +0000 Message-ID: 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]:44764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eAPJX-00067I-H7 for emacs-orgmode@gnu.org; Thu, 02 Nov 2017 19:54:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eAPJS-0001M9-MX for emacs-orgmode@gnu.org; Thu, 02 Nov 2017 19:54:23 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:60573) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eAPJS-0001Jt-Gl for emacs-orgmode@gnu.org; Thu, 02 Nov 2017 19:54:18 -0400 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: Alex Branham , Org-mode Oleh Krehel writes: > 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) Thank you! This works very well for me. It's been on my TODO list to figure out how to do this for a while. Stig