From: Eli Zaretskii Date: Mon, 14 Nov 2016 16:13:09 +0000 (+0200) Subject: Fix documentation changes of connection-local variables X-Git-Tag: emacs-26.0.90~1333 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3625e6ce9352942a4db980dd203b590cdaf821df;p=emacs.git Fix documentation changes of connection-local variables * etc/NEWS: Fix last change. * doc/lispref/variables.texi (Connection Local Variables): Minor fixes. * doc/lispref/elisp.texi (Top): Update the master menu. --- diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi index 4a1e52856ea..708bd9c3094 100644 --- a/doc/lispref/elisp.texi +++ b/doc/lispref/elisp.texi @@ -503,6 +503,7 @@ Variables * File Local Variables:: Handling local variable lists in files. * Directory Local Variables:: Local variables common to all files in a directory. +* Connection Local Variables:: Local variables common for remote connections. * Variable Aliases:: Variables that are aliases for other variables. * Variables with Restricted Values:: Non-constant variables whose value can @emph{not} be an arbitrary Lisp object. diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index 8a177973e11..4f2274f81a0 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi @@ -2001,10 +2001,10 @@ buffers, it could be called by any mode. @defmac with-connection-local-classes classes &rest body All connection-local variables, which are specified by a class in -@var{CLASSES}, are applied. An implicit binding of the classes to the +@var{classes}, are applied. An implicit binding of the classes to the remote connection is enabled. -After that, @var{BODY} is executed, and the connection-local variables +After that, @var{body} is executed, and the connection-local variables are unwound. Example: @example diff --git a/etc/NEWS b/etc/NEWS index 2e72fd54257..34d64bfac33 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -225,8 +225,8 @@ See the variable 'dir-locals-file-2' for more information. +++ ** Connection-local variables can be used to specify local variables -with a value depending on the connected remote server. For details, see -(info "(elisp)Connection Local Variables") +with a value depending on the connected remote server. For details, +see the node "Connection Local Variables" in the ELisp manual. --- ** International domain names (IDNA) are now encoded via the new