1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00
Commit Graph

35 Commits

Author SHA1 Message Date
Stefan Monnier
f6d6298639 Don't reset post-command-hook to nil upon error.
* src/eval.c (enum run_hooks_condition): Remove.
(funcall_nil, funcall_not): New functions.
(run_hook_with_args): Call each function through a `funcall' argument.
Remove `cond' argument, now redundant.
(Frun_hooks, Frun_hook_with_args, Frun_hook_with_args_until_success)
(Frun_hook_with_args_until_failure): Adjust accordingly.
(run_hook_wrapped_funcall, Frun_hook_wrapped): New functions.
* src/keyboard.c (safe_run_hook_funcall): New function.
(safe_run_hooks_1, safe_run_hooks_error, safe_run_hooks): On error,
don't set the hook to nil, but remove the offending function instead.
(Qcommand_hook_internal): Remove, unused.
(syms_of_keyboard): Don't initialize Qcommand_hook_internal nor define
Vcommand_hook_internal.
* doc/lispref/commands.texi (Command Overview): post-command-hook is not reset
to nil any more.
2011-03-28 16:26:35 -04:00
Glenn Morris
233ba4d924 Merge from emacs-23; up to 2010-05-26T14:19:15Z!monnier@iro.umontreal.ca. 2011-02-05 14:30:14 -08:00
Chong Yidong
a41c866068 Last remaining doc additions required by 23.3.
* doc/emacs/maintaining.texi (VC Change Log): Document vc-log-incoming and
vc-log-outgoing.
(Merging): Document vc-find-conflicted-file.

* doc/emacs/rmail.texi (Rmail Display): Document Rmail MIME support more
accurately.

* doc/lispref/commands.texi (Accessing Mouse): Note that a header line is not
included in the row of posn-col-row.

* etc/NEWS: Remove +++ and --- lines.
2011-02-05 01:13:36 -05:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Stefan Monnier
77ab81d054 Merge from emacs-23 2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Eli Zaretskii
8547874a7c Fix and document components of mouse event position.
src/keyboard.c (make_lispy_position): Put a meaningful value in yret
 when the click is on the header or mode line.
 doc/lispref/commands.texi (Click Events): Document the values of X, Y and
 COL, ROW in the event's position, when the click is on the header or
 mode line, on the fringes, or in the margins.
2010-11-26 20:15:09 +02:00
Eli Zaretskii
e8a6cc19a3 Add cross-references regarding POSITION of mouse events.
commands.texi (Misc Events): Add cross-references to where
 POSITION of a mouse event is described in detail.
2010-08-20 23:07:29 +03:00
Chong Yidong
51422d6dde Clarify command loop's role in undo boundary (Bug#2433).
* text.texi (Undo): Clarify command loop behavior (Bug#2433).
* commands.texi (Command Overview): Mention undo-boundary call.
2010-06-24 15:05:47 -04:00
Glenn Morris
d24880de8b Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-22 20:36:56 -07:00
Chong Yidong
eb5ed549f4 Document Emacs 23.2 changes.
* functions.texi (Obsolete Functions): Document
set-advertised-calling-convention.

* minibuf.texi (Basic Completion): Document completion-in-region.
(Programmed Completion): Document completion-annotate-function.

* commands.texi (Reading One Event): Document read-key.
(Distinguish Interactive): Document KIND arg to
called-interactively-p.  Delete obsolete interactive-p.

* elisp.texi (Top): Update node description.

* misc.texi (Printing): Document htmlfontify-buffer.
2010-04-25 17:21:51 -04:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Kevin Ryde
be0a5fb7f8 * commands.texi (Misc Events): vindex mouse-wheel-up-event and
mouse-wheel-down-event, the closest thing to a definition for them.
2009-11-26 23:57:40 +00:00
Chong Yidong
603f597946 * commands.texi (Motion Events): Fix typo (Bug#4907). 2009-11-14 15:15:32 +00:00
Chong Yidong
89a9e058e2 * commands.texi (Distinguish Interactive): Minor copyedit. 2009-08-15 21:47:23 +00:00
Glenn Morris
5cba88a23b (Using Interactive): Fix cross-reference. 2009-07-09 03:06:24 +00:00
Chong Yidong
3ec61d4e52 * frames.texi (Frames): Clean up introduction. Document `ns'
return value for framep.
(Creating Frames): Note how the terminal is chosen.
(Multiple Terminals, Multiple Displays): Merge into a single node.
(Color Parameters): Fix typo.

* variables.texi (Local Variables, Buffer-Local Variables)
(Creating Buffer-Local): Change link to Multiple Terminals.

* os.texi (X11 Keysyms): Change link to Multiple Terminals.

* keymaps.texi (Controlling Active Maps): Change link to Multiple
Terminals.

* commands.texi (Command Loop Info, Keyboard Macros): Change link
to Multiple Terminals.

* elisp.texi (Top): Update node listing.
* vol2.texi (Top): Update node listing.
* vol1.texi (Top): Update node listing.
2009-04-04 22:34:23 +00:00
Chong Yidong
4b0f717890 (Focus Events): Most X window managers don't use focus-follows-mouse
nowadays.
2009-03-25 14:18:31 +00:00
Chong Yidong
8421dd353c (Defining Commands): Clarify introduction.
(Using Interactive): Not that interactive can be put in a symbol
property.
(Interactive Call): Note that a symbol with a non-nil
interactive-form property satisfies commandp.
2009-03-24 17:08:49 +00:00
Alan Mackenzie
9fa6d45557 (Using Interactive): Clarify string argument to `interactive' - even
promptless elements need \n separators.
2009-03-22 15:12:01 +00:00
Eli Zaretskii
a894169f5a (Event Mod): Reinstate documentation of translation-table-for-input. 2009-02-07 11:08:45 +00:00
Eli Zaretskii
d3ae77bcb9 (Event Mod): `keyboard-translate-table' is now terminal-local.
(Function Keys): Rename function-key-map to local-function-key-map.
2009-01-17 19:14:01 +00:00
Glenn Morris
ab756fb378 (Command Loop Info): Say that last-command-char and last-input-char
are obsolete aliases.
2009-01-09 05:22:19 +00:00
Glenn Morris
6ed161e1d6 Add 2009 to copyright years. 2009-01-08 05:28:46 +00:00
Chong Yidong
77111ca680 (Key Sequence Input): Fix typos. 2008-11-25 03:51:47 +00:00
Eli Zaretskii
c3aaf1d70f (Defining Commands, Using Interactive): The interactive-form of a function
can be added via its symbol's property.
2008-10-15 20:22:21 +00:00
Eli Zaretskii
ee6e73b8d9 (Using Interactive, Interactive Codes): Document `^'.
(Interactive Examples): Show an example of `^'.
(Key Sequence Input): Document this-command-keys-shift-translated.
2008-10-15 16:47:35 +00:00
Stefan Monnier
ca7871a3e5 (translation-table-for-input): Mark as obsolete. 2008-04-24 18:10:09 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Miles Bader
b201b9880e Merge from emacs--rel--22, gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-975
2008-01-02 02:20:42 +00:00
Miles Bader
b2529d56b5 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 116-121)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-889
2007-10-15 02:07:53 +00:00
Miles Bader
1af74d06e5 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-875
2007-10-09 08:52:57 +00:00
Glenn Morris
6336d8c3d7 (setfilename): Go up one more level to ../../info. 2007-09-06 04:27:43 +00:00
Glenn Morris
b8d4c8d0e9 Move here from ../../lispref 2007-09-06 04:25:08 +00:00