From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [ox-latex] setting `org-latex-classes' Date: Tue, 21 Jul 2015 20:05:30 +0200 Message-ID: <87wpxt9yj9.fsf@gmx.us> References: <874mkxo4cc.fsf@gmail.com> <87mvypv2cc.fsf@alphaville.usersys.redhat.com> <87y4i99z3g.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHbvC-0007PF-A9 for emacs-orgmode@gnu.org; Tue, 21 Jul 2015 14:05:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHbv7-0003wP-9Y for emacs-orgmode@gnu.org; Tue, 21 Jul 2015 14:05:42 -0400 Received: from plane.gmane.org ([80.91.229.3]:47029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHbv7-0003wA-0R for emacs-orgmode@gnu.org; Tue, 21 Jul 2015 14:05:37 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZHbv5-0001IM-Ol for emacs-orgmode@gnu.org; Tue, 21 Jul 2015 20:05:35 +0200 Received: from ip5b4025d5.dynamic.kabel-deutschland.de ([91.64.37.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Jul 2015 20:05:35 +0200 Received: from rasmus by ip5b4025d5.dynamic.kabel-deutschland.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Jul 2015 20:05:35 +0200 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: emacs-orgmode@gnu.org Seb writes: > On Tue, 21 Jul 2015 13:37:39 -0400, > Nick Dokos wrote: > > [...] > >> Use eval-after-load: > >> (eval-after-load "ox-latex" (add-to-list 'org-latex-classes ....)) > > Thanks, I tried that but I get a "Symbol's value as variable is void: > org-latex-classes" when starting Emacs. (eval-after-load "ox-latex" '(add-to-list 'org-latex-classes ....)) Or (with-eval-after-load 'ox-latex (add-to-list 'org-latex-classes ....)) (untested) -- Bang bang