aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/help.texi10
-rw-r--r--doc/lispref/ChangeLog19
-rw-r--r--doc/lispref/debugging.texi10
-rw-r--r--doc/lispref/keymaps.texi24
-rw-r--r--doc/lispref/variables.texi11
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/flymake.texi2
8 files changed, 76 insertions, 10 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 531bf206a80..e10b9a83a43 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,8 @@
12011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * help.texi (Misc Help): Mention `describe-prefix-bindings'
4 explicitly (bug#8904).
5
12011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org> 62011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 7
3 * trouble.texi (Checklist): Use an `M-x' example instead of an 8 * trouble.texi (Checklist): Use an `M-x' example instead of an
diff --git a/doc/emacs/help.texi b/doc/emacs/help.texi
index 76a9f2413b1..9a75bfb1887 100644
--- a/doc/emacs/help.texi
+++ b/doc/emacs/help.texi
@@ -589,11 +589,13 @@ displays the contents of the syntax table, with explanations of each
589character's syntax (@pxref{Syntax Tables,, Syntax Tables, elisp, The 589character's syntax (@pxref{Syntax Tables,, Syntax Tables, elisp, The
590Emacs Lisp Reference Manual}). 590Emacs Lisp Reference Manual}).
591 591
592@findex describe-prefix-bindings
592 You can get a list of subcommands for a particular prefix key by 593 You can get a list of subcommands for a particular prefix key by
593typing @kbd{C-h} after the prefix key. (There are a few prefix keys 594typing @kbd{C-h} (@code{describe-prefix-bindings}) after the prefix
594for which this does not work---those that provide their own bindings 595key. (There are a few prefix keys for which this does not
595for @kbd{C-h}. One of these is @key{ESC}, because @kbd{@key{ESC} C-h} 596work---those that provide their own bindings for @kbd{C-h}. One of
596is actually @kbd{C-M-h}, which marks a defun.) 597these is @key{ESC}, because @kbd{@key{ESC} C-h} is actually
598@kbd{C-M-h}, which marks a defun.)
597 599
598@node Help Files 600@node Help Files
599@section Help Files 601@section Help Files
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 153d7e839c3..091a6ffda59 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,22 @@
12011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 Tim Cross <theophilusx@gmail.com> (tiny change)
3 Glenn Morris <rgm@gnu.org>
4
5 * keymaps.texi (Toolkit Differences): New node. (Bug#8176)
6
72011-07-15 Andreas Schwab <schwab@linux-m68k.org>
8
9 * help.texi (Keys in Documentation): Revert last change.
10
112011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12
13 * help.texi (Keys in Documentation): Clarify that \= only quotes
14 the next character, and doesn't affect longer sequences in
15 particular (bug#8935).
16
17 * debugging.texi (Using Debugger): Mention
18 @code{eval-expression-debug-on-error} (bug#8549).
19
12011-07-14 Eli Zaretskii <eliz@gnu.org> 202011-07-14 Eli Zaretskii <eliz@gnu.org>
2 21
3 * display.texi (Other Display Specs): Document that `left-fringe' 22 * display.texi (Other Display Specs): Document that `left-fringe'
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi
index ed146453df7..d9e807afb88 100644
--- a/doc/lispref/debugging.texi
+++ b/doc/lispref/debugging.texi
@@ -306,6 +306,16 @@ and it is wise to go back to the backtrace buffer and exit the debugger
306the debugger gets out of the recursive edit and kills the backtrace 306the debugger gets out of the recursive edit and kills the backtrace
307buffer. 307buffer.
308 308
309 When the debugger has been entered, the @code{debug-on-error}
310variable is temporarily set according to
311@code{eval-expression-debug-on-error}. If the latter variable is
312non-@code{nil}, @code{debug-on-error} will temporarily be set to
313@code{t}. This means that any further errors that occur while doing a
314debugging session will (by default) trigger another backtrace. If
315this is not want you want, you can either set
316@code{eval-expression-debug-on-error} to @code{nil}, or set
317@code{debug-on-error} to @code{nil} in @code{debugger-mode-hook}.
318
309@cindex current stack frame 319@cindex current stack frame
310 The backtrace buffer shows you the functions that are executing and 320 The backtrace buffer shows you the functions that are executing and
311their argument values. It also allows you to specify a stack frame by 321their argument values. It also allows you to specify a stack frame by
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi
index 15b2f2079ba..e5cca0622a9 100644
--- a/doc/lispref/keymaps.texi
+++ b/doc/lispref/keymaps.texi
@@ -2019,8 +2019,10 @@ an existing menu, you can specify its position in the menu using
2019 various features. 2019 various features.
2020* Menu Separators:: Drawing a horizontal line through a menu. 2020* Menu Separators:: Drawing a horizontal line through a menu.
2021* Alias Menu Items:: Using command aliases in menu items. 2021* Alias Menu Items:: Using command aliases in menu items.
2022* Toolkit Differences:: Not all toolkits provide the same features.
2022@end menu 2023@end menu
2023 2024
2025
2024@node Simple Menu Items 2026@node Simple Menu Items
2025@subsubsection Simple Menu Items 2027@subsubsection Simple Menu Items
2026 2028
@@ -2309,6 +2311,28 @@ itself). To request this, give the alias symbol a non-@code{nil}
2309causes menu items for @code{make-read-only} and @code{make-writable} to 2311causes menu items for @code{make-read-only} and @code{make-writable} to
2310show the keyboard bindings for @code{toggle-read-only}. 2312show the keyboard bindings for @code{toggle-read-only}.
2311 2313
2314@node Toolkit Differences
2315@subsubsection Toolkit Differences
2316
2317The various toolkits with which you can build Emacs do not all support
2318the same set of features for menus. Some code works as expected with
2319one toolkit, but not under another.
2320
2321One example is menu actions or buttons in a top-level menu-bar. The
2322following works with the Lucid toolkit or on MS Windows, but not with
2323GTK or Nextstep, where clicking on the item has no effect.
2324
2325@example
2326(defun menu-action-greet ()
2327 (interactive)
2328 (message "Hello Emacs User!"))
2329
2330(defun top-level-menu ()
2331 (interactive)
2332 (define-key lisp-interaction-mode-map [menu-bar m]
2333 '(menu-item "Action Button" menu-action-greet)))
2334@end example
2335
2312@node Mouse Menus 2336@node Mouse Menus
2313@subsection Menus and the Mouse 2337@subsection Menus and the Mouse
2314 2338
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi
index 3da09369882..091765043e3 100644
--- a/doc/lispref/variables.texi
+++ b/doc/lispref/variables.texi
@@ -1099,11 +1099,12 @@ use short names like @code{x}.
1099@node Lexical Binding 1099@node Lexical Binding
1100@subsection Use of Lexical Scoping 1100@subsection Use of Lexical Scoping
1101 1101
1102Emacs Lisp can be evaluated in two different modes: in dynamic binding mode or 1102Emacs Lisp can be evaluated in two different modes: in dynamic binding
1103lexical binding mode. In dynamic binding mode, all local variables use dynamic 1103mode or lexical binding mode. In dynamic binding mode, all local
1104scoping, whereas in lexical binding mode variables that have been declared 1104variables use dynamic scoping, whereas in lexical binding mode
1105@dfn{special} (i.e., declared with @code{defvar} or @code{defconst}) use 1105variables that have been declared @dfn{special} (i.e., declared with
1106dynamic scoping and all others use lexical scoping. 1106@code{defvar}, @code{defcustom} or @code{defconst}) use dynamic
1107scoping and all others use lexical scoping.
1107 1108
1108@defvar lexical-binding 1109@defvar lexical-binding
1109When non-nil, evaluation of Lisp code uses lexical scoping for non-special 1110When non-nil, evaluation of Lisp code uses lexical scoping for non-special
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 38cbaafa45d..d64980bd1c8 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * flymake.texi (Example -- Configuring a tool called via make):
4 Use /dev/null instead of the Windows "nul" (bug#8715).
5
12011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org> 62011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 7
3 * widget.texi (Setting Up the Buffer): Remove mention of the 8 * widget.texi (Setting Up the Buffer): Remove mention of the
diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi
index 74cf3d630da..625e9549444 100644
--- a/doc/misc/flymake.texi
+++ b/doc/misc/flymake.texi
@@ -483,7 +483,7 @@ our case this target might look like this:
483 483
484@verbatim 484@verbatim
485check-syntax: 485check-syntax:
486 gcc -o nul -S ${CHK_SOURCES} 486 gcc -o /dev/null -S ${CHK_SOURCES}
487@end verbatim 487@end verbatim
488 488
489The format of error messages reported by @code{gcc} is already 489The format of error messages reported by @code{gcc} is already