# HG changeset patch # User Glenn Morris # Date 1193725440 0 # Node ID 32324df93013450c389d3d0a0d8c1637e26087cf # Parent 1b8904c5babf2eebd2fa8d6fe3a6626f772dc8a3 (tpu-map-key): Use with-no-warning to suppress byte-opt warning. diff -r 1b8904c5babf -r 32324df93013 lisp/emulation/tpu-mapper.el --- a/lisp/emulation/tpu-mapper.el Tue Oct 30 06:23:06 2007 +0000 +++ b/lisp/emulation/tpu-mapper.el Tue Oct 30 06:24:00 2007 +0000 @@ -187,7 +187,7 @@ ;; bogosity to get next prompt to come up, if the user hits ! ;; check periodically to see if this is still needed... (t - (format "%s" tpu-key)))) + (with-no-warnings (format "%s" tpu-key))))) (message "Press %s%s: " ident descrip) (setq tpu-key-seq (read-event)) (setq tpu-key (concat "[" (format "%s" tpu-key-seq) "]")) @@ -199,8 +199,9 @@ (set-buffer "Directions")) ;; bogosity to get next prompt to come up, if the user hits ! ;; check periodically to see if this is still needed... + ;; byte-opt warns that the return value is unused. (t - (format "%s" tpu-key)))) + (with-no-warnings (format "%s" tpu-key))))) tpu-key) (set-buffer "Keys")