comparison 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
comparison
equal deleted inserted replaced
178:e703507b8a00 179:9ad43877534d
777 (aset item 2 (buffer-modified-p))) 777 (aset item 2 (buffer-modified-p)))
778 (and (string= "Revert Buffer" name) 778 (and (string= "Revert Buffer" name)
779 (aset item 2 (not (not (or buffer-file-name 779 (aset item 2 (not (not (or buffer-file-name
780 revert-buffer-function))))) 780 revert-buffer-function)))))
781 (and (string= "Delete Frame" name) 781 (and (string= "Delete Frame" name)
782 (aset item 2 (device-or-frame-p (second (frame-list))))) 782 (aset item 2 (not (eq (next-frame (selected-frame)
783 'nomini 'window-system)
784 (selected-frame)))))
783 ))) 785 )))
784 result)) 786 result))
785 787
786 (defun edit-menu-filter (menu-items) 788 (defun edit-menu-filter (menu-items)
787 "For use as an incremental menu construction filter. 789 "For use as an incremental menu construction filter.