From 294d643a40ddc1bcb61933cba1e4c1933062d8bf Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 13 Jan 2003 08:22:08 +0000 Subject: [PATCH] Finish previous change. --- src/keyboard.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/keyboard.c b/src/keyboard.c index bde6ac354a2..9dbbda0276c 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1682,6 +1682,11 @@ command_loop_1 () if (value == 2) nonundocount = 0; + if (! NILP (Vpost_command_hook)) + /* Put this before calling adjust_point_for_property + so it will only get called once in any case. */ + goto directly_done; + /* VALUE == 1 when AFTER-CHANGE functions are installed which is the case most of the time because FONT-LOCK installs one. */ -- 2.39.2