comparison lisp/cus-edit.el @ 97043:9592c50233ab remove-carbon

Remove support for Mac Carbon. * mactoolbox.c: * macterm.h: * macterm.c: * macselect.c: * macmenu.c: * macgui.h: * macfns.c: * mac.c: Remove file. * s/darwin.h: * m/intel386.h: * xfaces.c: * xdisp.c: * window.c: * tparam.c: * termhooks.h: * termcap.c: * term.c: * syssignal.h: * sysselect.h: * sysdep.c: * process.c: * lread.c: * lisp.h: * keyboard.c: * image.c: * fringe.c: * frame.h: * frame.c: * fontset.c: * font.h: * font.c: * fns.c: * fileio.c: * emacs.c: * dispnew.c: * dispextern.h: * config.in: * atimer.c: * Makefile.in: Remove code for Carbon * erc.el: Remove code for Carbon. Remove support for Mac Carbon. * term/mac-win.el: Remove file * international/mule-cmds.el: * version.el: * startup.el: * simple.el: * mwheel.el: * mouse.el: * loadup.el: * isearch.el: * info.el: * frame.el: * faces.el: * disp-table.el: * cus-start.el: * cus-face.el: * cus-edit.el: * Makefile.in: Remove code for Carbon. Remove support for Mac Carbon. * makefile.w32-in: * emacsclient.c: Remove code for Carbon. * PROBLEMS: * MACHINES: Remove mentions of Mac Carbon. * ns-emacs.texi: * faq.texi: Remove mentions of Mac Carbon. * os.texi: * frames.texi: * display.texi: Remove mentions of Mac Carbon. * xresources.texi: Remove mentions of Mac Carbon. * make-tarball.txt: * admin.el: * FOR-RELEASE: * CPP-DEFINES: Remove mentions of Mac Carbon. Remove support for Mac Carbon. * mac: Remove directory. * make-dist: * configure.in: * README: * Makefile.in: * INSTALL: Remove code for Carbon. * configure: Regenerate.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sun, 27 Jul 2008 18:24:48 +0000
parents d45acf0c8d23
children 49ee444c9f1b
comparison
equal deleted inserted replaced
97042:0ac199626cb9 97043:9592c50233ab
444 444
445 (defgroup windows nil 445 (defgroup windows nil
446 "Windows within a frame." 446 "Windows within a frame."
447 :link '(custom-manual "(emacs)Windows") 447 :link '(custom-manual "(emacs)Windows")
448 :group 'environment) 448 :group 'environment)
449
450 (defgroup mac nil
451 "Mac specific features."
452 :link '(custom-manual "(emacs)Mac OS")
453 :group 'environment
454 :version "22.1"
455 :prefix "mac-")
456 449
457 ;;; Custom mode keymaps 450 ;;; Custom mode keymaps
458 451
459 (defvar custom-mode-map 452 (defvar custom-mode-map
460 ;; This keymap should be dense, but a dense keymap would prevent inheriting 453 ;; This keymap should be dense, but a dense keymap would prevent inheriting
2066 (widget-value-set magic (widget-value magic)))) 2059 (widget-value-set magic (widget-value magic))))
2067 2060
2068 ;;; The `custom' Widget. 2061 ;;; The `custom' Widget.
2069 2062
2070 (defface custom-button 2063 (defface custom-button
2071 '((((type x w32 mac ns) (class color)) ; Like default modeline 2064 '((((type x w32 ns) (class color)) ; Like default modeline
2072 (:box (:line-width 2 :style released-button) 2065 (:box (:line-width 2 :style released-button)
2073 :background "lightgrey" :foreground "black")) 2066 :background "lightgrey" :foreground "black"))
2074 (t 2067 (t
2075 nil)) 2068 nil))
2076 "Face for custom buffer buttons if `custom-raised-buttons' is non-nil." 2069 "Face for custom buffer buttons if `custom-raised-buttons' is non-nil."
2078 :group 'custom-faces) 2071 :group 'custom-faces)
2079 ;; backward-compatibility alias 2072 ;; backward-compatibility alias
2080 (put 'custom-button-face 'face-alias 'custom-button) 2073 (put 'custom-button-face 'face-alias 'custom-button)
2081 2074
2082 (defface custom-button-mouse 2075 (defface custom-button-mouse
2083 '((((type x w32 mac ns) (class color)) 2076 '((((type x w32 ns) (class color))
2084 (:box (:line-width 2 :style released-button) 2077 (:box (:line-width 2 :style released-button)
2085 :background "grey90" :foreground "black")) 2078 :background "grey90" :foreground "black"))
2086 (t 2079 (t
2087 nil)) 2080 nil))
2088 "Mouse face for custom buffer buttons if `custom-raised-buttons' is non-nil." 2081 "Mouse face for custom buffer buttons if `custom-raised-buttons' is non-nil."
2100 2093
2101 (setq custom-button-mouse 2094 (setq custom-button-mouse
2102 (if custom-raised-buttons 'custom-button-mouse 'highlight)) 2095 (if custom-raised-buttons 'custom-button-mouse 'highlight))
2103 2096
2104 (defface custom-button-pressed 2097 (defface custom-button-pressed
2105 '((((type x w32 mac ns) (class color)) 2098 '((((type x w32 ns) (class color))
2106 (:box (:line-width 2 :style pressed-button) 2099 (:box (:line-width 2 :style pressed-button)
2107 :background "lightgrey" :foreground "black")) 2100 :background "lightgrey" :foreground "black"))
2108 (t 2101 (t
2109 (:inverse-video t))) 2102 (:inverse-video t)))
2110 "Face for pressed custom buttons if `custom-raised-buttons' is non-nil." 2103 "Face for pressed custom buttons if `custom-raised-buttons' is non-nil."
3159 pm) 3152 pm)
3160 (const :format "W32 " 3153 (const :format "W32 "
3161 :sibling-args (:help-echo "\ 3154 :sibling-args (:help-echo "\
3162 Windows NT/9X.") 3155 Windows NT/9X.")
3163 w32) 3156 w32)
3164 (const :format "MAC "
3165 :sibling-args (:help-echo "\
3166 Macintosh OS (Carbon interface).")
3167 mac)
3168 (const :format "NS " 3157 (const :format "NS "
3169 :sibling-args (:help-echo "\ 3158 :sibling-args (:help-echo "\
3170 GNUstep or Macintosh OS Cocoa interface.") 3159 GNUstep or Macintosh OS Cocoa interface.")
3171 ns) 3160 ns)
3172 (const :format "DOS " 3161 (const :format "DOS "