diff options
| author | Glenn Morris | 2007-10-30 06:24:00 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-10-30 06:24:00 +0000 |
| commit | d70184ba35be663016bc457e02bc0c794c841cc2 (patch) | |
| tree | bef1be411adf17d534308c85f4d61e628c9ca109 | |
| parent | 798bd43727b4397d3d4e7e620610a8e3431aa2f4 (diff) | |
| download | emacs-d70184ba35be663016bc457e02bc0c794c841cc2.tar.gz emacs-d70184ba35be663016bc457e02bc0c794c841cc2.zip | |
(tpu-map-key): Use with-no-warning to suppress byte-opt warning.
| -rw-r--r-- | lisp/emulation/tpu-mapper.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emulation/tpu-mapper.el b/lisp/emulation/tpu-mapper.el index 3f216ca8a2b..ea48c961cc4 100644 --- a/lisp/emulation/tpu-mapper.el +++ b/lisp/emulation/tpu-mapper.el | |||
| @@ -187,7 +187,7 @@ | |||
| 187 | ;; bogosity to get next prompt to come up, if the user hits <CR>! | 187 | ;; bogosity to get next prompt to come up, if the user hits <CR>! |
| 188 | ;; check periodically to see if this is still needed... | 188 | ;; check periodically to see if this is still needed... |
| 189 | (t | 189 | (t |
| 190 | (format "%s" tpu-key)))) | 190 | (with-no-warnings (format "%s" tpu-key))))) |
| 191 | (message "Press %s%s: " ident descrip) | 191 | (message "Press %s%s: " ident descrip) |
| 192 | (setq tpu-key-seq (read-event)) | 192 | (setq tpu-key-seq (read-event)) |
| 193 | (setq tpu-key (concat "[" (format "%s" tpu-key-seq) "]")) | 193 | (setq tpu-key (concat "[" (format "%s" tpu-key-seq) "]")) |
| @@ -199,8 +199,9 @@ | |||
| 199 | (set-buffer "Directions")) | 199 | (set-buffer "Directions")) |
| 200 | ;; bogosity to get next prompt to come up, if the user hits <CR>! | 200 | ;; bogosity to get next prompt to come up, if the user hits <CR>! |
| 201 | ;; check periodically to see if this is still needed... | 201 | ;; check periodically to see if this is still needed... |
| 202 | ;; byte-opt warns that the return value is unused. | ||
| 202 | (t | 203 | (t |
| 203 | (format "%s" tpu-key)))) | 204 | (with-no-warnings (format "%s" tpu-key))))) |
| 204 | tpu-key) | 205 | tpu-key) |
| 205 | 206 | ||
| 206 | (set-buffer "Keys") | 207 | (set-buffer "Keys") |