Mercurial > hg > xemacs-beta
comparison lisp/vm/vm-misc.el @ 140:585fb297b004 r20-2b4
Import from CVS: tag r20-2b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:32:43 +0200 |
parents | cca96a509cfe |
children | 2af401a6ecca |
comparison
equal
deleted
inserted
replaced
139:2b5203979d01 | 140:585fb297b004 |
---|---|
438 | 438 |
439 (defun vm-mouse-support-possible-p () | 439 (defun vm-mouse-support-possible-p () |
440 (vm-multiple-frames-possible-p)) | 440 (vm-multiple-frames-possible-p)) |
441 | 441 |
442 (defun vm-menu-support-possible-p () | 442 (defun vm-menu-support-possible-p () |
443 (or (and (boundp 'window-system) | 443 (cond (vm-xemacs-p |
444 (or (eq window-system 'x) | 444 (featurep 'menubar)) |
445 (eq window-system 'ns) ;; NextStep | 445 (vm-fsfemacs-19-p |
446 (eq window-system 'win32))) | 446 (fboundp 'menu-bar-mode)) |
447 (and (fboundp 'device-type) (eq (device-type) 'x)))) | 447 (t nil))) |
448 | 448 |
449 (defun vm-toolbar-support-possible-p () | 449 (defun vm-toolbar-support-possible-p () |
450 (and vm-xemacs-p | 450 (and vm-xemacs-p |
451 (vm-multiple-frames-possible-p) | 451 (vm-multiple-frames-possible-p) |
452 (featurep 'toolbar))) | 452 (featurep 'toolbar))) |