Commit 86494bd5 authored by Karl Heuer's avatar Karl Heuer
Browse files

*** empty log message ***

parent 10af5b4c
......@@ -431,8 +431,8 @@ correspondingly.
@defun make-auto-save-file-name
This function returns the file name to use for auto-saving the current
buffer. This is just the file name with hash marks (@samp{#}) appended
and prepended to it. This function does not look at the variable
buffer. This is just the file name with hash marks (@samp{#}) prepended
and appended to it. This function does not look at the variable
@code{auto-save-visited-file-name} (described below); you should check
that before calling this function.
......
......@@ -108,7 +108,7 @@ special commands available in this mode. @kbd{C-h m}
The documentation string may include the special documentation
substrings, @samp{\[@var{command}]}, @samp{\@{@var{keymap}@}}, and
@samp{\<@var{keymap}>}, that enable the documentation to adapt
@samp{\<@var{keymap}>}, which enable the documentation to adapt
automatically to the user's own key bindings. @xref{Keys in
Documentation}.
......@@ -462,7 +462,7 @@ And here is the code to set up the keymap for Lisp mode:
@end smallexample
Finally, here is the complete major mode function definition for
Emacs Lisp mode.
Lisp mode.
@smallexample
@group
......@@ -661,7 +661,7 @@ Here is an example of how to prepend several pattern pairs to
@defvar interpreter-mode-alist
This variable specifies major modes to use for scripts that specify a
command interpreter in an @samp{#!} line. Its value is a list of
command interpreter in a @samp{#!} line. Its value is a list of
elements of the form @code{(@var{interpreter} . @var{mode})}; for
example, @code{("perl" . perl-mode)} is one element present by default.
The element says to use mode @var{mode} if the file specifies
......@@ -915,8 +915,8 @@ characters are reserved for major modes.)
@subsection Easy-Mmode
The easy-mmode package provides a convenient way of implementing a
minor mode; with it, you can specify all about a simple minor mode in
one self-contained definition.
minor mode; with it, you can specify everything about a simple minor
mode in one self-contained definition.
@defmac easy-mmode-define-minor-mode mode doc &optional init-value mode-indicator keymap
@tindex easy-mmode-define-minor-mode
......@@ -1583,7 +1583,7 @@ comments and string constants, and highlights them using
There are several variables that control how Font Lock mode highlights
text. But major modes should not set any of these variables directly.
Instead, it should set @code{font-lock-defaults} as a buffer-local
Instead, they should set @code{font-lock-defaults} as a buffer-local
variable. The value assigned to this variable is used, if and when Font
Lock mode is enabled, to set all the other variables.
......@@ -1622,7 +1622,7 @@ table is stored in @code{font-lock-syntax-table}.
The fifth element, @var{syntax-begin}, specifies the value of
@code{font-lock-beginning-of-syntax-function} (see below).
Any further elements @var{other-vars} are have form
Any further elements @var{other-vars} are of the form
@code{(@var{variable} . @var{value})}. This kind of element means to
make @var{variable} buffer-local and then set it to @var{value}. This
is used to set other variables that affect fontification.
......@@ -1676,7 +1676,7 @@ the search. It should return non-@code{nil} if it succeeds, and set the
match data to describe the match that was found.
@item (@var{matcher} . @var{match})
In this kind of element, @var{matcher} stands for either a regular
In this kind of element, @var{matcher} is either a regular
expression or a function, as described above. The @sc{cdr},
@var{match}, specifies which subexpression of @var{matcher} should be
highlighted (instead of the entire text that @var{matcher} matched).
......
......@@ -1653,10 +1653,10 @@ system-specific keysym. An element has this form: @code{(@var{code}
. @var{symbol})}, where @var{code} is the numeric keysym code (not
including the ``vendor specific'' bit,
@ifinfo
-2**28,
-2**28),
@end ifinfo
@tex
$-2^{28}$,
$-2^{28}$),
@end tex
and @var{symbol} is the name for the function key.
......
......@@ -285,7 +285,7 @@ The beginning and end of a range must be in the same character set
(@samp{a} with grave accent) is in the Emacs character set for Latin-1.
Note that the usual regexp special characters are not special inside a
character alternative. A completely different set of characters are
character alternative. A completely different set of characters is
special inside character alternatives: @samp{]}, @samp{-} and @samp{^}.
To include a @samp{]} in a character alternative, you must make it the
......@@ -878,7 +878,7 @@ Interactively it is the prefix arg.
The lines are shown in a buffer named @samp{*Occur*}.
It serves as a menu to find any of the occurrences in this buffer.
@kbd{C-h m} (@code{describe-mode} in that buffer gives help.
@kbd{C-h m} (@code{describe-mode}) in that buffer gives help.
@end deffn
@defopt list-matching-lines-default-context-lines
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment