unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34131: File Variable doc: Remove the quotes on "variable"
@ 2019-01-19  0:45 積丹尼 Dan Jacobson
  2019-01-19  7:27 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: 積丹尼 Dan Jacobson @ 2019-01-19  0:45 UTC (permalink / raw)
  To: 34131

In (info "(emacs) Safe File Variables")

   File-local variables can be dangerous; when you visit someone else’s
   file, there’s no telling what its local variables list could do to your
   Emacs.  Improper values of the ‘eval’ “variable”, and other variables

                                            ^        ^ please remove the
                                            quotes on “variable”.

   such as ‘load-path’, could execute Lisp code you didn’t intend to run.

(Or is there really is a variable variable, link something to it.)





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

* bug#34131: File Variable doc: Remove the quotes on "variable"
  2019-01-19  0:45 bug#34131: File Variable doc: Remove the quotes on "variable" 積丹尼 Dan Jacobson
@ 2019-01-19  7:27 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2019-01-19  7:27 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 34131

> From: 積丹尼 Dan Jacobson
> 	<jidanni@jidanni.org>
> Date: Sat, 19 Jan 2019 08:45:10 +0800
> 
> In (info "(emacs) Safe File Variables")
> 
>    File-local variables can be dangerous; when you visit someone else’s
>    file, there’s no telling what its local variables list could do to your
>    Emacs.  Improper values of the ‘eval’ “variable”, and other variables
> 
>                                             ^        ^ please remove the
>                                             quotes on “variable”.

It's in quotes because it isn't really a variable, it's a function
call in disguise.





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

end of thread, other threads:[~2019-01-19  7:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-19  0:45 bug#34131: File Variable doc: Remove the quotes on "variable" 積丹尼 Dan Jacobson
2019-01-19  7:27 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).