From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonas Bernoulli Subject: Re: Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode Date: Tue, 10 Nov 2015 00:30:25 +0100 Message-ID: <87lha6vjhq.fsf@bernoul.li> References: <87oaf4wn30.fsf@bernoul.li> <87vb9c7bui.fsf@nicolasgoaziou.fr> <87a8qofq62.fsf@bernoul.li> <87pozk1jhj.fsf@yale.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvvtY-0001dU-4P for emacs-orgmode@gnu.org; Mon, 09 Nov 2015 18:30:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZvvtU-00089T-0T for emacs-orgmode@gnu.org; Mon, 09 Nov 2015 18:30:39 -0500 Received: from mail.hostpark.net ([212.243.197.30]:35295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZvvtT-00087k-Oq for emacs-orgmode@gnu.org; Mon, 09 Nov 2015 18:30:35 -0500 In-reply-to: <87pozk1jhj.fsf@yale.edu> 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: "Jorge A. Alfaro-Murillo" Cc: emacs-orgmode@gnu.org > #+BEGIN_SRC emacs-lisp > (add-hook 'elisp-mode-hook 'turn-on-orgtbl) > (add-hook 'elisp-mode-hook > (lambda () > (setq-local orgstruct-heading-prefix-regexp > ";; "))) > #+END_SRC It appears the stupid thing I did was that I used ";;" instead. Thanks for the help.