From: Glenn Morris Date: Tue, 30 Oct 2007 06:24:00 +0000 (+0000) Subject: (tpu-map-key): Use with-no-warning to suppress byte-opt warning. X-Git-Tag: emacs-pretest-23.0.90~9966 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d70184ba35be663016bc457e02bc0c794c841cc2;p=emacs.git (tpu-map-key): Use with-no-warning to suppress byte-opt warning. --- 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 @@ ;; 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")