emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Dave Love
Subject: [Emacs-diffs] Changes to emacs/lispref/tips.texi
Date: Mon, 06 Oct 2003 12:46:30 -0400

Index: emacs/lispref/tips.texi
diff -c emacs/lispref/tips.texi:1.48 emacs/lispref/tips.texi:1.49
*** emacs/lispref/tips.texi:1.48        Mon Oct  6 04:26:26 2003
--- emacs/lispref/tips.texi     Mon Oct  6 12:46:25 2003
***************
*** 210,216 ****
  that simply loading it has no visible effect---that should not enable
  the address@hidden that the package may be loaded
  arbitrarily by Custom for instance.}  Users will request the feature by
! invoking the command.
  
  @item
  It is a bad idea to define aliases for the Emacs primitives.  Use the
--- 210,225 ----
  that simply loading it has no visible effect---that should not enable
  the address@hidden that the package may be loaded
  arbitrarily by Custom for instance.}  Users will request the feature by
! invoking the command, which will often be constructed as a minor mode.
! 
! @cindex unloading packages
! If your package contains functions which do modify oridinary Emacs
! behavior, for instance by adding functions to hooks, define a function
! @address@hidden where @var{feature} is the name of
! the feature the package provides.  This function should undo any such
! changes, e.g.@: by turning off a minor mode, when
! @findex unload-feature
! @code{unload-feature} is used.
  
  @item
  It is a bad idea to define aliases for the Emacs primitives.  Use the
***************
*** 248,253 ****
--- 257,265 ----
  of Unix systems.
  
  @item
+ @findex next-line
+ @findex previous-line
+ @findex forward-line
  Don't use @code{next-line} or @code{previous-line} in programs; nearly
  always, @code{forward-line} is more convenient as well as more
  predictable and robust.  @xref{Text Lines}.




reply via email to

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