diff options
| author | Glenn Morris | 2007-11-07 03:39:19 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-11-07 03:39:19 +0000 |
| commit | 6ffadbb8c39f7260d5e7e79220b571eda293620f (patch) | |
| tree | 7227f3e720482074121d27b60360e249c1814575 | |
| parent | dafac6f36e195e6ce263f12018243a13e84c4616 (diff) | |
| download | emacs-6ffadbb8c39f7260d5e7e79220b571eda293620f.tar.gz emacs-6ffadbb8c39f7260d5e7e79220b571eda293620f.zip | |
Rob Riepel <riepel at networking.stanford.edu>
(tpu-map-key): Remove un-needed cond branch.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/emulation/tpu-mapper.el | 13 |
2 files changed, 6 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 49a01790684..e74b56f7b41 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-11-07 Rob Riepel <riepel@networking.stanford.edu> | ||
| 2 | |||
| 3 | * emulation/tpu-mapper.el (tpu-map-key): Remove un-needed cond branch. | ||
| 4 | |||
| 1 | 2007-11-07 Johan Bockg,Ae(Brd <bojohan@gnu.org> | 5 | 2007-11-07 Johan Bockg,Ae(Brd <bojohan@gnu.org> |
| 2 | 6 | ||
| 3 | * eshell/esh-mode.el (eshell-output-filter): | 7 | * eshell/esh-mode.el (eshell-output-filter): |
diff --git a/lisp/emulation/tpu-mapper.el b/lisp/emulation/tpu-mapper.el index ea48c961cc4..8edf963c8dd 100644 --- a/lisp/emulation/tpu-mapper.el +++ b/lisp/emulation/tpu-mapper.el | |||
| @@ -183,11 +183,7 @@ | |||
| 183 | (insert (format"(global-set-key %s %s)\n" tpu-key func)) | 183 | (insert (format"(global-set-key %s %s)\n" tpu-key func)) |
| 184 | (set-buffer "Gold-Keys") | 184 | (set-buffer "Gold-Keys") |
| 185 | (insert (format "(define-key GOLD-map %s %s)\n" tpu-key gold-func)) | 185 | (insert (format "(define-key GOLD-map %s %s)\n" tpu-key gold-func)) |
| 186 | (set-buffer "Directions")) | 186 | (set-buffer "Directions")))) |
| 187 | ;; bogosity to get next prompt to come up, if the user hits <CR>! | ||
| 188 | ;; check periodically to see if this is still needed... | ||
| 189 | (t | ||
| 190 | (with-no-warnings (format "%s" tpu-key))))) | ||
| 191 | (message "Press %s%s: " ident descrip) | 187 | (message "Press %s%s: " ident descrip) |
| 192 | (setq tpu-key-seq (read-event)) | 188 | (setq tpu-key-seq (read-event)) |
| 193 | (setq tpu-key (concat "[" (format "%s" tpu-key-seq) "]")) | 189 | (setq tpu-key (concat "[" (format "%s" tpu-key-seq) "]")) |
| @@ -196,12 +192,7 @@ | |||
| 196 | (insert (format"(define-key tpu-global-map %s %s)\n" tpu-key func)) | 192 | (insert (format"(define-key tpu-global-map %s %s)\n" tpu-key func)) |
| 197 | (set-buffer "Gold-Keys") | 193 | (set-buffer "Gold-Keys") |
| 198 | (insert (format "(define-key tpu-gold-map %s %s)\n" tpu-key gold-func)) | 194 | (insert (format "(define-key tpu-gold-map %s %s)\n" tpu-key gold-func)) |
| 199 | (set-buffer "Directions")) | 195 | (set-buffer "Directions")))) |
| 200 | ;; bogosity to get next prompt to come up, if the user hits <CR>! | ||
| 201 | ;; check periodically to see if this is still needed... | ||
| 202 | ;; byte-opt warns that the return value is unused. | ||
| 203 | (t | ||
| 204 | (with-no-warnings (format "%s" tpu-key))))) | ||
| 205 | tpu-key) | 196 | tpu-key) |
| 206 | 197 | ||
| 207 | (set-buffer "Keys") | 198 | (set-buffer "Keys") |