From 9877d20507782ef29cfa350b0c72ec58a3b8b9f6 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 26 Feb 1999 03:49:42 +0000 Subject: [PATCH] Don't require advice. (repeat-last-kill-command): Variable deleted. --- lisp/repeat.el | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lisp/repeat.el b/lisp/repeat.el index 3d3f464488d..cc31a70d937 100644 --- a/lisp/repeat.el +++ b/lisp/repeat.el @@ -147,14 +147,6 @@ member of that sequence. If this variable is nil, no re-execution occurs." ;; true-last-command by putting something in post-command-hook, but that ;; entails a performance hit; the approach taken below avoids that. -;; First cope with (kill-region). It's straightforward to advise it to save -;; the true value of this-command before clobbering it. - -(require 'advice) - -(defvar repeat-last-kill-command nil - "True value of `this-command' before (`kill-region') clobbered it.") - ;; Coping with strings of self-insert commands gets hairy when they interact ;; with auto-filling. Most problems are eliminated by remembering what we're ;; self-inserting, so we only need to get it from the undo information once. -- 2.39.2