emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lispref/advice.texi


From: Nick Roberts
Subject: [Emacs-diffs] Changes to emacs/lispref/advice.texi
Date: Fri, 13 Jan 2006 23:25:48 +0000

Index: emacs/lispref/advice.texi
diff -u emacs/lispref/advice.texi:1.22 emacs/lispref/advice.texi:1.23
--- emacs/lispref/advice.texi:1.22      Wed Aug 10 14:29:00 2005
+++ emacs/lispref/advice.texi   Fri Jan 13 23:25:48 2006
@@ -74,7 +74,8 @@
 this:
 
 @example
-(defadvice previous-line (before next-line-at-end (arg))
+(defadvice previous-line (before next-line-at-end
+                                 (&optional arg try-vscroll))
   "Insert an empty line when moving up from the top line."
   (if (and next-line-add-newlines (= arg 1)
            (save-excursion (beginning-of-line) (bobp)))
@@ -87,8 +88,8 @@
 @code{previous-line}.  This piece of advice is named
 @code{next-line-at-end}, and the symbol @code{before} says that it is
 @dfn{before-advice} which should run before the regular definition of
address@hidden  @code{(arg)} specifies how the advice code can
-refer to the function's arguments.
address@hidden  @code{(&optional arg try-vscroll)} specifies
+how the advice code can refer to the function's arguments.
 
   When this piece of advice runs, it creates an additional line, in the
 situation where that is appropriate, but does not move point to that




reply via email to

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