changeset 43264:91a36592ab22

*** empty log message ***
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 12 Feb 2002 19:33:46 +0000
parents 6862a1a4bd8e
children 10539fb6d0fc
files lispref/modes.texi lispref/variables.texi man/pcl-cvs.texi
diffstat 3 files changed, 23 insertions(+), 34 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/modes.texi	Tue Feb 12 18:58:21 2002 +0000
+++ b/lispref/modes.texi	Tue Feb 12 19:33:46 2002 +0000
@@ -2206,8 +2206,9 @@
 these functions are called with arguments or their values are used in
 some way.  You can use @code{add-hook} to add a function to the list,
 but you must take care in writing the function.  (A few of these
-variables are actually normal hooks which were named before we
-established the convention of using @samp{-hook} for them.)
+variables, notably those ending in @samp{-hooks}, are actually
+normal hooks which were named before we established the convention of
+using @samp{-hook} for them.)
 
   If the variable's name ends in @samp{-function}, then its value
 is just a single function, not a list of functions.
@@ -2290,9 +2291,8 @@
 argument @var{append} is non-@code{nil}, the new hook function goes at
 the end of the hook list and will be executed last.
 
-If @var{local} is non-@code{nil}, that says to make the new hook
-function buffer-local in the current buffer and automatically calls
-@code{make-local-hook} to make the hook itself buffer-local.
+If @var{local} is non-@code{nil}, that says to add @var{function}
+to the buffer-local hook list instead of to the global hook list.
 @end defun
 
 @defun remove-hook hook function &optional local
@@ -2300,24 +2300,4 @@
 
 If @var{local} is non-@code{nil}, that says to remove @var{function}
 from the buffer-local hook list instead of from the global hook list.
-If the hook variable itself is not buffer-local, then the value of
-@var{local} makes no difference.
 @end defun
-
-@defun make-local-hook hook
-This function makes the hook variable @code{hook} buffer-local in the
-current buffer.  When a hook variable is buffer-local, it can have
-buffer-local and global hook functions, and @code{run-hooks} runs all of
-them.
-
-This function works by adding @code{t} as an element of the buffer-local
-value.  That serves as a flag to use the hook functions listed in the default
-value of the hook variable, as well as those listed in the buffer-local value.
-Since @code{run-hooks} understands this flag, @code{make-local-hook}
-works with all normal hooks.  It works for only some non-normal
-hooks---those whose callers have been updated to understand this meaning
-of @code{t}.
-
-Do not use @code{make-local-variable} directly for hook variables; it is
-not sufficient.
-@end defun
--- a/lispref/variables.texi	Tue Feb 12 18:58:21 2002 +0000
+++ b/lispref/variables.texi	Tue Feb 12 19:33:46 2002 +0000
@@ -1291,7 +1291,9 @@
 Displays}.
 
 @strong{Note:} Do not use @code{make-local-variable} for a hook
-variable.  Instead, use @code{make-local-hook}.  @xref{Hooks}.
+variable.  The hook variables are automatically made buffer-local
+as needed if you use the @var{local} argument to @code{add-hook} or
+@code{remove-hook}.
 @end deffn
 
 @deffn Command make-variable-buffer-local variable
--- a/man/pcl-cvs.texi	Tue Feb 12 18:58:21 2002 +0000
+++ b/man/pcl-cvs.texi	Tue Feb 12 19:33:46 2002 +0000
@@ -1,6 +1,6 @@
 \input texinfo  @c -*-texinfo-*-
 
-@c "@(#)$Name:  $:$Id: pcl-cvs.texi,v 1.11 2001/02/13 00:00:30 fx Exp $"
+@c "@(#)$Name:  $:$Id: pcl-cvs.texi,v 1.12 2001/02/23 12:50:41 gerd Exp $"
 
 @c Documentation for the GNU Emacs CVS mode.
 @c Copyright (C) 1991,92,93,94,95,96,97,98,99,2000, 2001  Free Software Foundation, Inc.
@@ -23,15 +23,17 @@
 
 @c %**start of header
 @setfilename ../info/pcl-cvs
-@settitle PCL-CVS--Emacs Front-End to CVS
+@settitle PCL-CVS -- Emacs Front-End to CVS
 @c %**end of header
 
+@c 
+
 @dircategory Emacs
 @direntry
 * PCL-CVS: (pcl-cvs).	Emacs front-end to CVS.
 @end direntry
 @setchapternewpage on
-     
+
 @ifinfo
 Copyright @copyright{} 1991,92,93,94,95,96,97,98,99,2000  Free Software Foundation, Inc.
 
@@ -777,6 +779,7 @@
 @kindex ESC DEL@r{--unmark all files}
 @kindex DEL@r{--unmark previous file}
 @kindex %@r{--mark files matching regexp}
+@kindex S@r{--mark files in a particular state}
 @kindex T@r{--toggle marks}
 @findex cvs-mode-mark
 @findex cvs-mode-unmark
@@ -784,6 +787,7 @@
 @findex cvs-mode-unmark-all-files
 @findex cvs-mode-unmark-up
 @findex cvs-mode-mark-matching-files
+@findex cvs-mode-mark-on-state
 @findex cvs-mode-toggle-marks
 
 PCL-CVS works on a set of @dfn{selected files} (@pxref{Selected files}).
@@ -810,11 +814,15 @@
 Unmark the file on the previous line, and move point to that line
 (@code{cvs-mode-unmark-up}).
 
-@item @key{%}
+@item %
 Mark all files matching a regular expression
 (@code{cvs-mode-mark-matching-files}).
 
-@item @key{T}
+@item S
+Mark all files in a particular state, such as ``Modified'' or
+``Removed''.  (@code{cvs-mode-mark-on-state}).
+
+@item T
 Toggle use of marks for the next command (@code{cvs-mode-toggle-marks}).
 @end table
 
@@ -1435,8 +1443,7 @@
 extensions to this package, we would like to hear from you.  We hope that
 you find this package useful!
 
-Below is a partial list of currently known problems with PCL-CVS version
-2.0.
+Below is a partial list of currently known problems with PCL-CVS.
 
 @table @asis
 @item Unexpected output from CVS
@@ -1444,7 +1451,7 @@
 warning messages in the @samp{*cvs*} buffer alerting you to any parse errors.
 If you get these messages, please send a bug report to the email
 addresses listed above.  Include the contents of the @samp{*cvs*} buffer, the
-output of the CVS process (which should be found in the @samp{*cvs-tmp*}
+output of the CVS process (which should be found in the @samp{ *cvs-tmp*}
 buffer), and the versions of Emacs, PCL-CVS and CVS you are using.
 @end table