From f867d8d3aedfbd8ee23c79a06b72a4e4ecbd9a01 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 4 Apr 1996 22:06:47 +0000 Subject: [PATCH] (Electric-command-loop): Set universal-argument-other-key to 0. --- lisp/electric.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/electric.el b/lisp/electric.el index 2b95a1c2a3a..8a155b324d5 100644 --- a/lisp/electric.el +++ b/lisp/electric.el @@ -67,8 +67,10 @@ (setq prompt-string "->"))) (setq cmd (read-key-sequence prompt-string)) (setq last-command-char (aref cmd (1- (length cmd))) - this-command (key-binding cmd) + this-command (key-binding cmd t) cmd this-command) + ;; This makes universal-argument-other-key work. + (setq universal-argument-num-events 0) (if (or (prog1 quit-flag (setq quit-flag nil)) (eq last-input-char ?\C-g)) (progn (setq unread-command-events nil -- 2.39.2