Hi,

put his on hold FTMB, please. I don't yet understand why I get 'en'
regardless the language I state in org 9.7.x

However, "evaluating" #+LANGUAGE: at startup may be a nice feature for the
future, in the sense of reducing the amount of lines to setup Emacs for a
specific document.

Best, /PA

On Tue, 30 Jul 2024 at 08:18, Pedro A. Aranda <paaguti@gmail.com> wrote:

>
>   doc/org-manual.org: Add tip to integrate spellchecking with #+LANGUAGE:
>
> * doc/org-manual.org: Show how to watch ~org-export-default-language~ in
> your ELISP code to automatically adjust your spell-checker.
>
> ---
>
>   doc/org-manual.org | 12 ++++++++++++
>   1 file changed, 12 insertions(+)
>
> diff --git a/doc/org-manual.org b/doc/org-manual.org
> index 6cf51ebca..020fd061f 100644
> --- a/doc/org-manual.org
> +++ b/doc/org-manual.org
> @@ -14075,6 +14075,18 @@ general options (see [[*Export Settings]]).
>                  '("AUTO" "polyglossia" t ("xelatex" "lualatex")))
>     #+end_src
>
> +  *TIP*: you can watch this variable in your ELISP code to interface
> +  with your spellchecker:
> +
> +  #+begin_src emacs-lisp
> +    (defun org-export-default-language-watcher (_ newval _ _)
> +      ;; newval will hold the value defined in #+LANGUAGE:
> +      )
> +
> +    (add-variable-watcher 'org-export-default-language
> +                          #'org-export-default-language-watcher))
> +  #+end_src
> +
>   - =LATEX_CLASS= ::
>
>     #+cindex: @samp{LATEX_CLASS}, keyword
> --
> 2.34.1
>
>

-- 
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet