help-gnu-emacs
[Top][All Lists]
Advanced

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

Exporting form emacs texinfo-mode to dvi, pdf, and html


From: lisa-asket
Subject: Exporting form emacs texinfo-mode to dvi, pdf, and html
Date: Sat, 26 Jun 2021 18:04:57 +0200 (CEST)

Ok, let's do it.  It also says one can use mode hooks to specify it in certain 
modes, like this:



I could use it for  texinfo-mode-hook



    (add-hook 'c-mode-hook
       (lambda ()
     (unless (or (file-exists-p "makefile")
             (file-exists-p "Makefile"))
           (setq-local compile-command
        (concat "make -k "
            (if buffer-file-name
              (shell-quote-argument
                (file-name-sans-extension buffer-file-name))))))))





From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Exporting form emacs texinfo-mode to dvi, pdf, and html
Date: 26/06/2021 17:54:37 Europe/Paris

> From: lisa-asket@perso.be
> Date: Sat, 26 Jun 2021 17:45:11 +0200 (CEST)
> 
> It says
> 
> This variable may be risky if used as a file-local variable.

It is not a risk if you yourself wrote the variable's value.




reply via email to

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