From: Richard M. Stallman Date: Fri, 26 Feb 1999 03:49:42 +0000 (+0000) Subject: Don't require advice. X-Git-Tag: emacs-20.4~548 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9877d20507782ef29cfa350b0c72ec58a3b8b9f6;p=emacs.git Don't require advice. (repeat-last-kill-command): Variable deleted. --- 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.