emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] autoloads not working correctly for org-table.el?


From: Eric Abrahamsen
Subject: [O] autoloads not working correctly for org-table.el?
Date: Fri, 27 Feb 2015 18:12:24 +0800
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Hi,

I've got this in my message-mode-hook:

'turn-on-orgstruct++

It does just what I want, except the variable orgtbl-line-start-regexp
isn't loaded, which wrecks auto-fill. Line 22894 of org.el has this:

(defvar orgtbl-line-start-regexp) ; From org-table.el

But that doesn't actually *load* the value of that variable, so using
orgstruct++ mode gives me a bunch of these:

Symbol's value as variable is void: orgtbl-line-start-regexp

every time point gets past fill column, and the filling thing kicks in.

I don't actually know what the right thing to do is. Maybe just a
(require 'org-table) inside `orgstruct++-mode'? Autoload doesn't seem to
work for variables, nor is there a `declare-variable'...

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]