Hi,

Paul Schlesinger <phschlesin...@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


Reply via email to