* lisp/simple.el (universal-argument--preserve): Set
current-prefix-arg to last-prefix-arg in order to preserve
last-prefix-arg, too (bug#71277).
(cherry picked from commit
0b4d2bb9b366ea78e8bc6bf1915d91d4131e98f7)
(add-hook 'prefix-command-preserve-state-hook
#'universal-argument--preserve)
(defun universal-argument--preserve ()
- (setq prefix-arg current-prefix-arg))
+ (setq prefix-arg current-prefix-arg)
+ (setq current-prefix-arg last-prefix-arg))
(defvar universal-argument-map
(let ((map (make-sparse-keymap))