comparison lispref/modes.texi @ 90227:10fe5fadaf89

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-81 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 532-541) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 112-115) - Update from CVS
author Miles Bader <miles@gnu.org>
date Sun, 11 Sep 2005 22:21:01 +0000
parents a3716f7538f2 822218f80ae4
children 0ca0d9181b5e
comparison
equal deleted inserted replaced
90226:df78f2fb8f6a 90227:10fe5fadaf89
959 displays the documentation string of the major mode function. 959 displays the documentation string of the major mode function.
960 (@xref{Accessing Documentation}.) 960 (@xref{Accessing Documentation}.)
961 @end deffn 961 @end deffn
962 962
963 @defvar major-mode 963 @defvar major-mode
964 This variable holds the symbol for the current buffer's major mode. 964 This buffer-local variable holds the symbol for the current buffer's
965 This symbol should have a function definition that is the command to 965 major mode. This symbol should have a function definition that is the
966 switch to that major mode. The @code{describe-mode} function uses the 966 command to switch to that major mode. The @code{describe-mode}
967 documentation string of the function as the documentation of the major 967 function uses the documentation string of the function as the
968 mode. 968 documentation of the major mode.
969 @end defvar 969 @end defvar
970 970
971 @node Derived Modes 971 @node Derived Modes
972 @subsection Defining Derived Modes 972 @subsection Defining Derived Modes
973 @cindex derived mode 973 @cindex derived mode