all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* File local variables in a tutorial
@ 2010-07-31 15:52 Eli Zaretskii
  2010-07-31 17:02 ` Juanma Barranquero
  0 siblings, 1 reply; 2+ messages in thread
From: Eli Zaretskii @ 2010-07-31 15:52 UTC (permalink / raw)
  To: emacs-devel

tutorial.el does not visit the tutorial file normally, but rather uses
insert-file-contents to insert it into a buffer.  The result of this
is that file local variables do not take effect, with the exception of
`coding:;, which is treated specially by insert-file-contents itself.

Is there a good reason not to call hack-local-variables after the
tutorial is read in by insert-file-contents?



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: File local variables in a tutorial
  2010-07-31 15:52 File local variables in a tutorial Eli Zaretskii
@ 2010-07-31 17:02 ` Juanma Barranquero
  0 siblings, 0 replies; 2+ messages in thread
From: Juanma Barranquero @ 2010-07-31 17:02 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

On Sat, Jul 31, 2010 at 17:52, Eli Zaretskii <eliz@gnu.org> wrote:

> Is there a good reason not to call hack-local-variables after the
> tutorial is read in by insert-file-contents?

Seems like an oversight.

    Juanma



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-31 17:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-31 15:52 File local variables in a tutorial Eli Zaretskii
2010-07-31 17:02 ` Juanma Barranquero

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.