Mercurial > emacs
annotate nt/ftime-nostartup.bat @ 60937:ddcbccff39ce
Optimize image filename extension regexps in
autoload cookies. Associate .x[bp]m with `image-mode-maybe'
in `auto-mode-alist'.
(image-mode): Add `image-toggle-display-text' to local hook
`change-major-mode-hook'. Display the image as an image by
default. Set `cursor-type' and `truncate-lines' if the image
is already displayed. Take into account the current mode (image
or text) in message.
(image-minor-mode): New minor mode.
(image-mode-maybe, image-toggle-display-text): New functions.
(image-toggle-display): Use called-interactively-p.
Let-bind `inhibit-read-only' to t.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Fri, 25 Mar 2005 19:57:21 +0000 |
parents | 93ce5f375b46 |
children | 375f2633d815 ef719132ddfa |
rev | line source |
---|---|
41276 | 1 @echo off |
2 if (%1)==() echo Usage: %0 tracefile | |
3 if (%1)==() goto done | |
4 rem Need to fiddle with the dumped image so prep doesn't break it | |
5 obj\i386\preprep ..\src\obj\i386\emacs.exe ..\src\obj\i386\pemacs.exe | |
6 copy ..\src\obj\i386\temacs.map ..\src\obj\i386\pemacs.map | |
7 rem ----------------------------------------------------------------- | |
8 rem Use this version to profile explicit commands only. | |
9 rem prep /om /ft /sf _Fexecute_extended_command ..\src\obj\i386\pemacs | |
10 rem ----------------------------------------------------------------- | |
11 rem Use this version to ignore startup code | |
12 prep /om /ft /sf _command_loop_1 ..\src\obj\i386\pemacs | |
13 rem ----------------------------------------------------------------- | |
14 rem Use this version to include startup code | |
15 rem prep /om /ft ..\src\obj\i386\pemacs | |
16 rem ----------------------------------------------------------------- | |
17 if errorlevel 1 goto done | |
18 profile ..\src\obj\i386\pemacs %2 %3 %4 %5 %6 %7 %8 %9 | |
19 if errorlevel 1 goto done | |
20 prep /m ..\src\obj\i386\pemacs | |
21 if errorlevel 1 goto done | |
22 plist ..\src\obj\i386\pemacs > %1 | |
23 :done | |
52414
93ce5f375b46
Fix some DOS line-ending inconsistencies introduced with arch-tag:
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
24 |
93ce5f375b46
Fix some DOS line-ending inconsistencies introduced with arch-tag:
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
25 goto skipArchTag |
93ce5f375b46
Fix some DOS line-ending inconsistencies introduced with arch-tag:
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
26 arch-tag: 927c5199-a8a3-4cf0-ab56-62b66fc6520d |
93ce5f375b46
Fix some DOS line-ending inconsistencies introduced with arch-tag:
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
27 :skipArchTag |