Mercurial > emacs
view mac/Emacs.app/Contents/Info.plist @ 82944:827101d5eacc
(image-type): New variable.
(image-mode): Set default major mode name to "Image[text]".
(image-minor-mode): Change LIGHTER to display image-type in the
mode line.
(image-minor-mode): Set default image-type to "text".
(image-toggle-display): After switching to text mode, set
image-type to "text" and major mode name to "Image[text]".
After switching to image mode, set image-type to actual image
type, and add image type to major mode name. Let-bind the same
variable names as arguments of `image-type' and `create-image'.
Bind `type' to the result of `image-type' and use it as arg
of `create-image' to not determine the image type twice.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Tue, 28 Aug 2007 22:31:41 +0000 |
parents | 7c332721231a |
children | 360532428aaa 63337c0c2f1a |
line wrap: on
line source
<!-- Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. This file is part of GNU Emacs. GNU Emacs is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GNU Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Emacs; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. --> <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> <plist version="0.9"> <dict> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeExtensions</key> <array> <string>*</string> </array> <key>CFBundleTypeName</key> <string>All</string> <key>CFBundleTypeOSTypes</key> <array> <string>****</string> </array> <key>CFBundleTypeRole</key> <string>Viewer</string> </dict> </array> <key>CFBundleExecutable</key> <string>Emacs</string> <key>CFBundleIconFile</key> <string>Emacs.icns</string> <key>CFBundleIdentifier</key> <string>org.gnu.Emacs</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleSignature</key> <string>EMAx</string> <key>CFBundleVersion</key> <string>1.1</string> <key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleURLName</key> <string>Email Address URL</string> <key>CFBundleURLSchemes</key> <array> <string>mailto</string> </array> </dict> </array> <key>NSServices</key> <array> <dict> <key>NSKeyEquivalent</key> <dict/> <key>NSMenuItem</key> <dict> <key>default</key> <string>Emacs/New Buffer Containing Selection</string> </dict> <key>NSMessage</key> <string>open-selection</string> <key>NSPortName</key> <string>Emacs</string> <key>NSReturnTypes</key> <array/> <key>NSSendTypes</key> <array> <string>NSStringPboardType</string> </array> </dict> <dict> <key>NSKeyEquivalent</key> <dict/> <key>NSMenuItem</key> <dict> <key>default</key> <string>Emacs/Open Selected File</string> </dict> <key>NSMessage</key> <string>open-file</string> <key>NSPortName</key> <string>Emacs</string> <key>NSReturnTypes</key> <array/> <key>NSSendTypes</key> <array> <string>NSStringPboardType</string> </array> </dict> <dict> <key>NSKeyEquivalent</key> <dict/> <key>NSMenuItem</key> <dict> <key>default</key> <string>Emacs/Send Selection</string> </dict> <key>NSMessage</key> <string>mail-selection</string> <key>NSPortName</key> <string>Emacs</string> <key>NSReturnTypes</key> <array/> <key>NSSendTypes</key> <array> <string>NSStringPboardType</string> </array> </dict> <dict> <key>NSKeyEquivalent</key> <dict/> <key>NSMenuItem</key> <dict> <key>default</key> <string>Emacs/Send To</string> </dict> <key>NSMessage</key> <string>mail-to</string> <key>NSPortName</key> <string>Emacs</string> <key>NSReturnTypes</key> <array/> <key>NSSendTypes</key> <array> <string>NSStringPboardType</string> </array> </dict> </array> </dict> </plist>