[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/variables.texi
From: |
Luc Teirlinck |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/variables.texi |
Date: |
Thu, 05 May 2005 19:19:02 -0400 |
Index: emacs/lispref/variables.texi
diff -c emacs/lispref/variables.texi:1.59 emacs/lispref/variables.texi:1.60
*** emacs/lispref/variables.texi:1.59 Wed May 4 14:21:38 2005
--- emacs/lispref/variables.texi Thu May 5 23:19:02 2005
***************
*** 1736,1749 ****
@defmac define-obsolete-variable-alias variable new &optional when docstring
This macro marks the variable @var{variable} as obsolete and also
! makes it an alias for the variable @var{new}.
! If provided, @var{when} should be a string indicating when
! @var{variable} was first made obsolete. The optional argument
! @var{docstring} specifies the documentation string for @var{variable}.
! If @var{docstring} is omitted or nil, @var{variable} uses the
! documentation string of @var{new} unless it already has one of its
! own.
@end defmac
@defun indirect-variable variable
--- 1736,1754 ----
@defmac define-obsolete-variable-alias variable new &optional when docstring
This macro marks the variable @var{variable} as obsolete and also
! makes it an alias for the variable @var{new}. A typical call has the form:
! @example
! (define-obsolete-variable-alias 'old-var 'new-var "22.1" "Doc.")
! @end example
!
! @noindent
! which is equivalent to the following two lines of code:
!
! @example
! (defvaralias 'oldvar 'newvar "Doc.")
! (make-obsolete-variable 'old-var 'new-var "22.1")
! @end example
@end defmac
@defun indirect-variable variable
- [Emacs-diffs] Changes to emacs/lispref/variables.texi, Richard M . Stallman, 2005/05/01
- [Emacs-diffs] Changes to emacs/lispref/variables.texi, Luc Teirlinck, 2005/05/02
- [Emacs-diffs] Changes to emacs/lispref/variables.texi, Richard M . Stallman, 2005/05/04
- [Emacs-diffs] Changes to emacs/lispref/variables.texi,
Luc Teirlinck <=
- [Emacs-diffs] Changes to emacs/lispref/variables.texi, Luc Teirlinck, 2005/05/08
- [Emacs-diffs] Changes to emacs/lispref/variables.texi, Luc Teirlinck, 2005/05/15
- [Emacs-diffs] Changes to emacs/lispref/variables.texi, Luc Teirlinck, 2005/05/17