diff options
author | Jim Blandy <jimb@redhat.com> | 1992-03-16 15:23:26 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1992-03-16 15:23:26 +0000 |
commit | 71e40adf62e72eb22cc70c68af866946d278dddf (patch) | |
tree | 616e00035c6ac5d6cb183956985998ca0cec7695 | |
parent | c810ea9018c06c2ad81c4273df097426abbc6e30 (diff) | |
download | emacs-71e40adf62e72eb22cc70c68af866946d278dddf.tar.gz |
*** empty log message ***
-rw-r--r-- | lisp/simple.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index f008094a659..8519219324d 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1,5 +1,5 @@ ;; Basic editing commands for Emacs -;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. +;; Copyright (C) 1985, 1986, 1987, 1992 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. @@ -402,7 +402,8 @@ Repeat this command to undo more changes. A numeric argument serves as a repeat count." (interactive "*p") (let ((modified (buffer-modified-p))) - (message "Undo!") + (or (eq (selected-window) (minibuffer-window)) + (message "Undo!")) (or (eq last-command 'undo) (progn (undo-start) (undo-more 1))) |