summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2003-05-28 11:24:51 +0000
committerRichard M. Stallman <rms@gnu.org>2003-05-28 11:24:51 +0000
commitd759a2f5179978e436b0308f5344dd2a8fa5b5b6 (patch)
tree705e9294610d6fd92f1d291325838674bc5af4b7
parentc29cf9a4c9249aed53070dceb38294965dcb811e (diff)
downloademacs-d759a2f5179978e436b0308f5344dd2a8fa5b5b6.tar.gz
(command-line-1): Use with-no-warnings.
-rw-r--r--lisp/startup.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index 8b5361739f8..196ede15559 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1768,7 +1768,8 @@ normal otherwise."
;; clicks the menu bar during the sit-for.
(when (display-popup-menus-p)
(precompute-menubar-bindings))
- (setq menubar-bindings-done t)
+ (with-no-warnings
+ (setq menubar-bindings-done t))
;; If *scratch* is selected and it is empty, insert an
;; initial message saying not to create a file there.