comparison lisp/x11/x-menubar.el @ 171:929b76928fce r20-3b12

Import from CVS: tag r20-3b12
author cvs
date Mon, 13 Aug 2007 09:47:52 +0200
parents 15872534500d
children 9ad43877534d
comparison
equal deleted inserted replaced
170:98a42ee61975 171:929b76928fce
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 (not (eq (next-frame) (selected-frame))))) 782 (aset item 2 (device-or-frame-p (second (frame-list)))))
783 ))) 783 )))
784 result)) 784 result))
785 785
786 (defun edit-menu-filter (menu-items) 786 (defun edit-menu-filter (menu-items)
787 "For use as an incremental menu construction filter. 787 "For use as an incremental menu construction filter.