Mercurial > hg > xemacs-beta
diff lisp/x11/x-menubar.el @ 179:9ad43877534d r20-3b16
Import from CVS: tag r20-3b16
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:52:19 +0200 |
parents | 929b76928fce |
children | 3d6bfa290dbd |
line wrap: on
line diff
--- a/lisp/x11/x-menubar.el Mon Aug 13 09:51:18 2007 +0200 +++ b/lisp/x11/x-menubar.el Mon Aug 13 09:52:19 2007 +0200 @@ -779,7 +779,9 @@ (aset item 2 (not (not (or buffer-file-name revert-buffer-function))))) (and (string= "Delete Frame" name) - (aset item 2 (device-or-frame-p (second (frame-list))))) + (aset item 2 (not (eq (next-frame (selected-frame) + 'nomini 'window-system) + (selected-frame))))) ))) result))