# HG changeset patch # User Richard M. Stallman # Date 733358142 0 # Node ID afb11b3822c2f5615ea2357cfc8e6f7b9473ab14 # Parent cc774e22d0495c0d4d53baa2e10bc30e3d181f25 Undo previous change. diff -r cc774e22d049 -r afb11b3822c2 lisp/=gosmacs.el --- a/lisp/=gosmacs.el Sun Mar 28 22:27:23 1993 +0000 +++ b/lisp/=gosmacs.el Sun Mar 28 22:35:42 1993 +0000 @@ -46,7 +46,7 @@ ("\C-x\C-n" next-error) ("\C-x\C-o" switch-to-buffer) ("\C-x\C-r" insert-file) - ("\C-x\C-u" undo-with-space) + ("\C-x\C-u" undo) ("\C-x\C-v" find-file-other-window) ("\C-x\C-z" shrink-window) ("\C-x!" shell-command) @@ -114,21 +114,4 @@ (interactive) (recenter 0)) -(defun undo-with-space () - "Enter an undo loop that continues while you type SPC characters. Exit -with ESC; any other character exits and begins a new command." - (interactive) - (undo-start) - (undo-more 1) - (message "Hit to undo more") - (let ((event 32)) - (while (equal event 32) - (message "undoing..") - (undo-more 1) - (message "Hit to undo more") - (setq event (read-event))) - (message "Finished undoing.") - (if (not (equal event 27)) - (setq unread-command-event event)))) - ;;; gosmacs.el ends here diff -r cc774e22d049 -r afb11b3822c2 lisp/novice.el --- a/lisp/novice.el Sun Mar 28 22:27:23 1993 +0000 +++ b/lisp/novice.el Sun Mar 28 22:35:42 1993 +0000 @@ -120,13 +120,4 @@ (insert "(put '" (symbol-name command) " 'disabled t)\n") (save-buffer))) -;;;###autoload -(defun enable-and-notify (&rest args) - "A novice hook for non-novices." - (put this-command 'disabled nil) - (message "You typed %s. %s was disabled. It's enabled now." - (key-description (this-command-keys)) this-command) - (sit-for 0) - (call-interactively this-command)) - ;;; novice.el ends here