diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-04-26 04:03:40 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-04-26 04:03:40 +0000 |
commit | 06bc58d88a7cf0f7ca133218610cc5d19b31a550 (patch) | |
tree | bf6b43dc5f38dcbbfee605f45170094d96a29960 /lisp/emulation/tpu-mapper.el | |
parent | 158a958d6a0b101c7531cc3315aa52a1bcd9520e (diff) | |
download | emacs-06bc58d88a7cf0f7ca133218610cc5d19b31a550.tar.gz |
Eval key definitions and clean up upon completion.
Persistent completion status message.
Diffstat (limited to 'lisp/emulation/tpu-mapper.el')
-rw-r--r-- | lisp/emulation/tpu-mapper.el | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/lisp/emulation/tpu-mapper.el b/lisp/emulation/tpu-mapper.el index ea7eeef805a..3f9171ec7ec 100644 --- a/lisp/emulation/tpu-mapper.el +++ b/lisp/emulation/tpu-mapper.el @@ -1,6 +1,6 @@ ;;; tpu-mapper.el --- Create a TPU-edt keymap file for x-windows emacs. -;; Copyright (C) 1993, 1994 Free Software Foundation, Inc. +;; Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc. ;; Author: Rob Riepel <riepel@networking.stanford.edu> ;; Maintainer: Rob Riepel <riepel@networking.stanford.edu> @@ -361,13 +361,31 @@ (set-buffer "Keys") ;;; -;;; Save the key mapping program and blow this pop stand +;;; Save the key mapping program ;;; (let ((file (if tpu-lucid-emacs19-p "~/.tpu-lucid-keys" "~/.tpu-keys"))) (set-visited-file-name (read-file-name (format "Save key mapping to file (default %s): " file) "" file))) (save-buffer) -(message "tpu-mapper done") +;;; +;;; Load the newly defined keys and clean up +;;; +(eval-current-buffer) +(kill-buffer (current-buffer)) +(kill-buffer "*scratch*") +(kill-buffer "Gold-Keys") + +;;; +;;; Let them know it worked. +;;; +(switch-to-buffer "Directions") +(erase-buffer) +(insert " + A custom TPU-edt keymap file has been created. + + Press GOLD-k to remove this buffer and continue editing. +") +(goto-char (point-min)) ;;; tpu-mapper.el ends here |