But the surprising thing is that Paul mentioned in the subject line that he's on emacs 24.5.


--
Kaushal Modi

On Thu, Aug 6, 2015 at 10:54 AM, Rasmus <rasmus@gmx.us> wrote:
Hi,

Paul Schlesinger <phschlesinger@gmail.com> writes:

> When I open an org file I get
> File mode specification error: (invalid-function setq-local)
>
> I just upgraded so I don't know of any other problems

setq-local only seems to be used in contrib.  Contrib'ed files aren't
targeted a particular minimum version of Emacs, I believe.

Perhaps you are trying to load one of these files?

./contrib/lisp/org-eldoc.el:156:        (setq-local eldoc-documentation-function #'org-eldoc-documentation-function))
./contrib/lisp/org-index.el:2339:       (setq-local org-index--occur-help-text (cons (cdr org-index--occur-help-text) (car org-index--occur-help-text)))
./contrib/lisp/org-drill.el:2864:       (setq-local org-drill-cloze-regexp (org-drill--compute-cloze-regexp))
./contrib/lisp/org-drill.el:2865:       (setq-local org-drill-cloze-keywords (org-drill--compute-cloze-keywords))
./contrib/lisp/org-drill.el:2878:;;     (setq-local org-drill-cloze-regexp (org-drill--compute-cloze-regexp))
./contrib/lisp/org-drill.el:2879:;;     (setq-local org-drill-cloze-keywords (org-drill--compute-cloze-keywords))

Hope it helps,
Rasmus

--
Together we'll stand, divided we'll fall