home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / prim / files-nomule.elc.z / files-nomule.elc
Emacs Compiled Lisp  |  1998-05-21  |  3.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 64 65 72 76 69 73 68 | 20 6f 6e 20 54 68 75 20 |@dervish| on Thu |
|00000030| 44 65 63 20 31 31 20 30 | 37 3a 30 36 3a 33 39 20 |Dec 11 0|7:06:39 |
|00000040| 31 39 39 37 0a 3b 3b 3b | 20 66 72 6f 6d 20 66 69 |1997.;;;| from fi|
|00000050| 6c 65 20 2f 75 73 72 32 | 2f 73 72 63 2f 78 65 6d |le /usr2|/src/xem|
|00000060| 61 63 73 2d 32 30 2e 33 | 2f 6c 69 73 70 2f 70 72 |acs-20.3|/lisp/pr|
|00000070| 69 6d 2f 66 69 6c 65 73 | 2d 6e 6f 6d 75 6c 65 2e |im/files|-nomule.|
|00000080| 65 6c 0a 3b 3b 3b 20 65 | 6d 61 63 73 20 76 65 72 |el.;;; e|macs ver|
|00000090| 73 69 6f 6e 20 32 30 2e | 33 20 22 56 61 74 69 63 |sion 20.|3 "Vatic|
|000000a0| 61 6e 20 43 69 74 79 22 | 20 58 45 6d 61 63 73 20 |an City"| XEmacs |
|000000b0| 20 4c 75 63 69 64 2e 0a | 3b 3b 3b 20 62 79 74 65 | Lucid..|;;; byte|
|000000c0| 63 6f 6d 70 20 76 65 72 | 73 69 6f 6e 20 32 2e 32 |comp ver|sion 2.2|
|000000d0| 35 20 58 45 6d 61 63 73 | 3b 20 32 32 2d 4d 61 72 |5 XEmacs|; 22-Mar|
|000000e0| 2d 39 36 2e 0a 3b 3b 3b | 20 6f 70 74 69 6d 69 7a |-96..;;;| optimiz|
|000000f0| 61 74 69 6f 6e 20 69 73 | 20 6f 6e 2e 0a 3b 3b 3b |ation is| on..;;;|
|00000100| 20 74 68 69 73 20 66 69 | 6c 65 20 75 73 65 73 20 | this fi|le uses |
|00000110| 6f 70 63 6f 64 65 73 20 | 77 68 69 63 68 20 64 6f |opcodes |which do|
|00000120| 20 6e 6f 74 20 65 78 69 | 73 74 20 69 6e 20 45 6d | not exi|st in Em|
|00000130| 61 63 73 20 31 39 2e 0a | 0a 28 69 66 20 28 61 6e |acs 19..|.(if (an|
|00000140| 64 20 28 62 6f 75 6e 64 | 70 20 27 65 6d 61 63 73 |d (bound|p 'emacs|
|00000150| 2d 76 65 72 73 69 6f 6e | 29 0a 09 20 28 6f 72 20 |-version|).. (or |
|00000160| 28 61 6e 64 20 28 62 6f | 75 6e 64 70 20 27 65 70 |(and (bo|undp 'ep|
|00000170| 6f 63 68 3a 3a 76 65 72 | 73 69 6f 6e 29 20 65 70 |och::ver|sion) ep|
|00000180| 6f 63 68 3a 3a 76 65 72 | 73 69 6f 6e 29 0a 09 20 |och::ver|sion).. |
|00000190| 20 20 20 20 28 73 74 72 | 69 6e 67 2d 6c 65 73 73 | (str|ing-less|
|000001a0| 70 20 65 6d 61 63 73 2d | 76 65 72 73 69 6f 6e 20 |p emacs-|version |
|000001b0| 22 32 30 22 29 29 29 0a | 20 20 20 20 28 65 72 72 |"20"))).| (err|
|000001c0| 6f 72 20 22 60 66 69 6c | 65 73 2d 6e 6f 6d 75 6c |or "`fil|es-nomul|
|000001d0| 65 2e 65 6c 27 20 77 61 | 73 20 63 6f 6d 70 69 6c |e.el' wa|s compil|
|000001e0| 65 64 20 66 6f 72 20 45 | 6d 61 63 73 20 32 30 22 |ed for E|macs 20"|
|000001f0| 29 29 0a 0a 28 6f 72 20 | 28 62 6f 75 6e 64 70 20 |))..(or |(boundp |
|00000200| 27 63 75 72 72 65 6e 74 | 2d 6c 6f 61 64 2d 6c 69 |'current|-load-li|
|00000210| 73 74 29 20 28 73 65 74 | 71 20 63 75 72 72 65 6e |st) (set|q curren|
|00000220| 74 2d 6c 6f 61 64 2d 6c | 69 73 74 20 6e 69 6c 29 |t-load-l|ist nil)|
|00000230| 29 0a 0a 0a 23 40 37 38 | 31 20 49 6e 73 65 72 74 |)...#@78|1 Insert|
|00000240| 20 63 6f 6e 74 65 6e 74 | 73 20 6f 66 20 66 69 6c | content|s of fil|
|00000250| 65 20 46 49 4c 45 4e 41 | 4d 45 20 61 66 74 65 72 |e FILENA|ME after|
|00000260| 20 70 6f 69 6e 74 2e 0a | 52 65 74 75 72 6e 73 20 | point..|Returns |
|00000270| 6c 69 73 74 20 6f 66 20 | 61 62 73 6f 6c 75 74 65 |list of |absolute|
|00000280| 20 66 69 6c 65 20 6e 61 | 6d 65 20 61 6e 64 20 6c | file na|me and l|
|00000290| 65 6e 67 74 68 20 6f 66 | 20 64 61 74 61 20 69 6e |ength of| data in|
|000002a0| 73 65 72 74 65 64 2e 0a | 49 66 20 73 65 63 6f 6e |serted..|If secon|
|000002b0| 64 20 61 72 67 75 6d 65 | 6e 74 20 56 49 53 49 54 |d argume|nt VISIT|
|000002c0| 20 69 73 20 6e 6f 6e 2d | 6e 69 6c 2c 20 74 68 65 | is non-|nil, the|
|000002d0| 20 62 75 66 66 65 72 27 | 73 20 76 69 73 69 74 65 | buffer'|s visite|
|000002e0| 64 20 66 69 6c 65 6e 61 | 6d 65 0a 61 6e 64 20 6c |d filena|me.and l|
|000002f0| 61 73 74 20 73 61 76 65 | 20 66 69 6c 65 20 6d 6f |ast save| file mo|
|00000300| 64 74 69 6d 65 20 61 72 | 65 20 73 65 74 2c 20 61 |dtime ar|e set, a|
|00000310| 6e 64 20 69 74 20 69 73 | 20 6d 61 72 6b 65 64 20 |nd it is| marked |
|00000320| 75 6e 6d 6f 64 69 66 69 | 65 64 2e 0a 49 66 20 76 |unmodifi|ed..If v|
|00000330| 69 73 69 74 69 6e 67 20 | 61 6e 64 20 74 68 65 20 |isiting |and the |
|00000340| 66 69 6c 65 20 64 6f 65 | 73 20 6e 6f 74 20 65 78 |file doe|s not ex|
|00000350| 69 73 74 2c 20 76 69 73 | 69 74 69 6e 67 20 69 73 |ist, vis|iting is|
|00000360| 20 63 6f 6d 70 6c 65 74 | 65 64 0a 62 65 66 6f 72 | complet|ed.befor|
|00000370| 65 20 74 68 65 20 65 72 | 72 6f 72 20 69 73 20 73 |e the er|ror is s|
|00000380| 69 67 6e 61 6c 65 64 2e | 0a 0a 54 68 65 20 6f 70 |ignaled.|..The op|
|00000390| 74 69 6f 6e 61 6c 20 74 | 68 69 72 64 20 61 6e 64 |tional t|hird and|
|000003a0| 20 66 6f 75 72 74 68 20 | 61 72 67 75 6d 65 6e 74 | fourth |argument|
|000003b0| 73 20 42 45 47 20 61 6e | 64 20 45 4e 44 0a 73 70 |s BEG an|d END.sp|
|000003c0| 65 63 69 66 79 20 77 68 | 61 74 20 70 6f 72 74 69 |ecify wh|at porti|
|000003d0| 6f 6e 20 6f 66 20 74 68 | 65 20 66 69 6c 65 20 74 |on of th|e file t|
|000003e0| 6f 20 69 6e 73 65 72 74 | 2e 0a 49 66 20 56 49 53 |o insert|..If VIS|
|000003f0| 49 54 20 69 73 20 6e 6f | 6e 2d 6e 69 6c 2c 20 42 |IT is no|n-nil, B|
|00000400| 45 47 20 61 6e 64 20 45 | 4e 44 20 6d 75 73 74 20 |EG and E|ND must |
|00000410| 62 65 20 6e 69 6c 2e 0a | 49 66 20 6f 70 74 69 6f |be nil..|If optio|
|00000420| 6e 61 6c 20 66 69 66 74 | 68 20 61 72 67 75 6d 65 |nal fift|h argume|
|00000430| 6e 74 20 52 45 50 4c 41 | 43 45 20 69 73 20 6e 6f |nt REPLA|CE is no|
|00000440| 6e 2d 6e 69 6c 2c 0a 69 | 74 20 6d 65 61 6e 73 20 |n-nil,.i|t means |
|00000450| 72 65 70 6c 61 63 65 20 | 74 68 65 20 63 75 72 72 |replace |the curr|
|00000460| 65 6e 74 20 62 75 66 66 | 65 72 20 63 6f 6e 74 65 |ent buff|er conte|
|00000470| 6e 74 73 20 28 69 6e 20 | 74 68 65 20 61 63 63 65 |nts (in |the acce|
|00000480| 73 73 69 62 6c 65 20 70 | 6f 72 74 69 6f 6e 29 0a |ssible p|ortion).|
|00000490| 77 69 74 68 20 74 68 65 | 20 66 69 6c 65 20 63 6f |with the| file co|
|000004a0| 6e 74 65 6e 74 73 2e 20 | 20 54 68 69 73 20 69 73 |ntents. | This is|
|000004b0| 20 62 65 74 74 65 72 20 | 74 68 61 6e 20 73 69 6d | better |than sim|
|000004c0| 70 6c 79 20 64 65 6c 65 | 74 69 6e 67 20 61 6e 64 |ply dele|ting and|
|000004d0| 20 69 6e 73 65 72 74 69 | 6e 67 0a 74 68 65 20 77 | inserti|ng.the w|
|000004e0| 68 6f 6c 65 20 74 68 69 | 6e 67 20 62 65 63 61 75 |hole thi|ng becau|
|000004f0| 73 65 20 28 31 29 20 69 | 74 20 70 72 65 73 65 72 |se (1) i|t preser|
|00000500| 76 65 73 20 73 6f 6d 65 | 20 6d 61 72 6b 65 72 20 |ves some| marker |
|00000510| 70 6f 73 69 74 69 6f 6e | 73 0a 61 6e 64 20 28 32 |position|s.and (2|
|00000520| 29 20 69 74 20 70 75 74 | 73 20 6c 65 73 73 20 64 |) it put|s less d|
|00000530| 61 74 61 20 69 6e 20 74 | 68 65 20 75 6e 64 6f 20 |ata in t|he undo |
|00000540| 6c 69 73 74 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |list...(|defalias|
|00000550| 20 27 69 6e 73 65 72 74 | 2d 66 69 6c 65 2d 63 6f | 'insert|-file-co|
|00000560| 6e 74 65 6e 74 73 20 23 | 5b 28 66 69 6c 65 6e 61 |ntents #|[(filena|
|00000570| 6d 65 20 26 6f 70 74 69 | 6f 6e 61 6c 20 76 69 73 |me &opti|onal vis|
|00000580| 69 74 20 62 65 67 20 65 | 6e 64 20 72 65 70 6c 61 |it beg e|nd repla|
|00000590| 63 65 29 20 22 c0 09 5c | 6e 0b 0c 0d c6 89 26 07 |ce) "..\|n.....&.|
|000005a0| 87 22 20 5b 69 6e 73 65 | 72 74 2d 66 69 6c 65 2d |." [inse|rt-file-|
|000005b0| 63 6f 6e 74 65 6e 74 73 | 2d 69 6e 74 65 72 6e 61 |contents|-interna|
|000005c0| 6c 20 66 69 6c 65 6e 61 | 6d 65 20 76 69 73 69 74 |l filena|me visit|
|000005d0| 20 62 65 67 20 65 6e 64 | 20 72 65 70 6c 61 63 65 | beg end| replace|
|000005e0| 20 6e 69 6c 5d 20 38 20 | 28 23 24 20 2e 20 35 37 | nil] 8 |(#$ . 57|
|000005f0| 30 29 5d 29 0a 23 40 31 | 33 36 32 20 57 72 69 74 |0)]).#@1|362 Writ|
|00000600| 65 20 63 75 72 72 65 6e | 74 20 72 65 67 69 6f 6e |e curren|t region|
|00000610| 20 69 6e 74 6f 20 73 70 | 65 63 69 66 69 65 64 20 | into sp|ecified |
|00000620| 66 69 6c 65 2e 0a 42 79 | 20 64 65 66 61 75 6c 74 |file..By| default|
|00000630| 2c 20 74 68 65 20 66 69 | 6c 65 27 73 20 65 78 69 |, the fi|le's exi|
|00000640| 73 74 69 6e 67 20 63 6f | 6e 74 65 6e 74 73 20 61 |sting co|ntents a|
|00000650| 72 65 20 72 65 70 6c 61 | 63 65 64 20 62 79 20 74 |re repla|ced by t|
|00000660| 68 65 20 73 70 65 63 69 | 66 69 65 64 20 72 65 67 |he speci|fied reg|
|00000670| 69 6f 6e 2e 0a 57 68 65 | 6e 20 63 61 6c 6c 65 64 |ion..Whe|n called|
|00000680| 20 66 72 6f 6d 20 61 20 | 70 72 6f 67 72 61 6d 2c | from a |program,|
|00000690| 20 74 61 6b 65 73 20 74 | 68 72 65 65 20 61 72 67 | takes t|hree arg|
|000006a0| 75 6d 65 6e 74 73 3a 0a | 53 54 41 52 54 2c 20 45 |uments:.|START, E|
|000006b0| 4e 44 20 61 6e 64 20 46 | 49 4c 45 4e 41 4d 45 2e |ND and F|ILENAME.|
|000006c0| 20 20 53 54 41 52 54 20 | 61 6e 64 20 45 4e 44 20 | START |and END |
|000006d0| 61 72 65 20 62 75 66 66 | 65 72 20 70 6f 73 69 74 |are buff|er posit|
|000006e0| 69 6f 6e 73 2e 0a 4f 70 | 74 69 6f 6e 61 6c 20 66 |ions..Op|tional f|
|000006f0| 6f 75 72 74 68 20 61 72 | 67 75 6d 65 6e 74 20 41 |ourth ar|gument A|
|00000700| 50 50 45 4e 44 20 69 66 | 20 6e 6f 6e 2d 6e 69 6c |PPEND if| non-nil|
|00000710| 20 6d 65 61 6e 73 0a 20 | 20 61 70 70 65 6e 64 20 | means. | append |
|00000720| 74 6f 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |to exist|ing file|
|00000730| 20 63 6f 6e 74 65 6e 74 | 73 20 28 69 66 20 61 6e | content|s (if an|
|00000740| 79 29 2e 0a 4f 70 74 69 | 6f 6e 61 6c 20 66 69 66 |y)..Opti|onal fif|
|00000750| 74 68 20 61 72 67 75 6d | 65 6e 74 20 56 49 53 49 |th argum|ent VISI|
|00000760| 54 20 69 66 20 74 20 6d | 65 61 6e 73 0a 20 20 73 |T if t m|eans. s|
|00000770| 65 74 20 74 68 65 20 6c | 61 73 74 2d 73 61 76 65 |et the l|ast-save|
|00000780| 2d 66 69 6c 65 2d 6d 6f | 64 74 69 6d 65 20 6f 66 |-file-mo|dtime of|
|00000790| 20 62 75 66 66 65 72 20 | 74 6f 20 74 68 69 73 20 | buffer |to this |
|000007a0| 66 69 6c 65 27 73 20 6d | 6f 64 74 69 6d 65 0a 20 |file's m|odtime. |
|000007b0| 20 61 6e 64 20 6d 61 72 | 6b 20 62 75 66 66 65 72 | and mar|k buffer|
|000007c0| 20 6e 6f 74 20 6d 6f 64 | 69 66 69 65 64 2e 0a 49 | not mod|ified..I|
|000007d0| 66 20 56 49 53 49 54 20 | 69 73 20 61 20 73 74 72 |f VISIT |is a str|
|000007e0| 69 6e 67 2c 20 69 74 20 | 69 73 20 61 20 73 65 63 |ing, it |is a sec|
|000007f0| 6f 6e 64 20 66 69 6c 65 | 20 6e 61 6d 65 3b 0a 20 |ond file| name;. |
|00000800| 20 74 68 65 20 6f 75 74 | 70 75 74 20 67 6f 65 73 | the out|put goes|
|00000810| 20 74 6f 20 46 49 4c 45 | 4e 41 4d 45 2c 20 62 75 | to FILE|NAME, bu|
|00000820| 74 20 74 68 65 20 62 75 | 66 66 65 72 20 69 73 20 |t the bu|ffer is |
|00000830| 6d 61 72 6b 65 64 20 61 | 73 20 76 69 73 69 74 69 |marked a|s visiti|
|00000840| 6e 67 20 56 49 53 49 54 | 2e 0a 20 20 56 49 53 49 |ng VISIT|.. VISI|
|00000850| 54 20 69 73 20 61 6c 73 | 6f 20 74 68 65 20 66 69 |T is als|o the fi|
|00000860| 6c 65 20 6e 61 6d 65 20 | 74 6f 20 6c 6f 63 6b 20 |le name |to lock |
|00000870| 61 6e 64 20 75 6e 6c 6f | 63 6b 20 66 6f 72 20 63 |and unlo|ck for c|
|00000880| 6c 61 73 68 20 64 65 74 | 65 63 74 69 6f 6e 2e 0a |lash det|ection..|
|00000890| 49 66 20 56 49 53 49 54 | 20 69 73 20 6e 65 69 74 |If VISIT| is neit|
|000008a0| 68 65 72 20 74 20 6e 6f | 72 20 6e 69 6c 20 6e 6f |her t no|r nil no|
|000008b0| 72 20 61 20 73 74 72 69 | 6e 67 2c 0a 20 20 74 68 |r a stri|ng,. th|
|000008c0| 61 74 20 6d 65 61 6e 73 | 20 64 6f 20 6e 6f 74 20 |at means| do not |
|000008d0| 70 72 69 6e 74 20 74 68 | 65 20 22 57 72 6f 74 65 |print th|e "Wrote|
|000008e0| 20 66 69 6c 65 22 20 6d | 65 73 73 61 67 65 2e 0a | file" m|essage..|
|000008f0| 54 68 65 20 6f 70 74 69 | 6f 6e 61 6c 20 73 69 78 |The opti|onal six|
|00000900| 74 68 20 61 72 67 20 4c | 4f 43 4b 4e 41 4d 45 2c |th arg L|OCKNAME,|
|00000910| 20 69 66 20 6e 6f 6e 2d | 6e 69 6c 2c 20 73 70 65 | if non-|nil, spe|
|00000920| 63 69 66 69 65 73 20 74 | 68 65 20 6e 61 6d 65 20 |cifies t|he name |
|00000930| 74 6f 0a 20 20 75 73 65 | 20 66 6f 72 20 6c 6f 63 |to. use| for loc|
|00000940| 6b 69 6e 67 20 61 6e 64 | 20 75 6e 6c 6f 63 6b 69 |king and| unlocki|
|00000950| 6e 67 2c 20 6f 76 65 72 | 72 69 64 69 6e 67 20 46 |ng, over|riding F|
|00000960| 49 4c 45 4e 41 4d 45 20 | 61 6e 64 20 56 49 53 49 |ILENAME |and VISI|
|00000970| 54 2e 0a 4b 6c 75 64 67 | 79 20 66 65 61 74 75 72 |T..Kludg|y featur|
|00000980| 65 3a 20 69 66 20 53 54 | 41 52 54 20 69 73 20 61 |e: if ST|ART is a|
|00000990| 20 73 74 72 69 6e 67 2c | 20 74 68 65 6e 20 74 68 | string,| then th|
|000009a0| 61 74 20 73 74 72 69 6e | 67 20 69 73 20 77 72 69 |at strin|g is wri|
|000009b0| 74 74 65 6e 0a 74 6f 20 | 74 68 65 20 66 69 6c 65 |tten.to |the file|
|000009c0| 2c 20 69 6e 73 74 65 61 | 64 20 6f 66 20 61 6e 79 |, instea|d of any|
|000009d0| 20 62 75 66 66 65 72 20 | 63 6f 6e 74 65 6e 74 73 | buffer |contents|
|000009e0| 2c 20 61 6e 64 20 45 4e | 44 20 69 73 20 69 67 6e |, and EN|D is ign|
|000009f0| 6f 72 65 64 2e 0a 4f 70 | 74 69 6f 6e 61 6c 20 73 |ored..Op|tional s|
|00000a00| 65 76 65 6e 74 68 20 61 | 72 67 75 6d 65 6e 74 20 |eventh a|rgument |
|00000a10| 43 4f 44 49 4e 47 2d 53 | 59 53 54 45 4d 20 69 73 |CODING-S|YSTEM is|
|00000a20| 20 6d 65 61 6e 69 6e 67 | 66 75 6c 20 6f 6e 6c 79 | meaning|ful only|
|00000a30| 20 69 66 20 73 75 70 70 | 6f 72 74 0a 20 20 66 6f | if supp|ort. fo|
|00000a40| 72 20 4d 75 6c 65 20 69 | 73 20 70 72 65 73 65 6e |r Mule i|s presen|
|00000a50| 74 20 69 6e 20 58 45 6d | 61 63 73 20 61 6e 64 20 |t in XEm|acs and |
|00000a60| 73 70 65 63 69 66 69 65 | 73 20 74 68 65 20 63 6f |specifie|s the co|
|00000a70| 64 69 6e 67 20 73 79 73 | 74 65 6d 0a 20 20 75 73 |ding sys|tem. us|
|00000a80| 65 64 20 74 6f 20 65 6e | 63 6f 64 65 20 74 68 65 |ed to en|code the|
|00000a90| 20 74 65 78 74 20 77 68 | 65 6e 20 69 74 20 69 73 | text wh|en it is|
|00000aa0| 20 77 72 69 74 74 65 6e | 20 6f 75 74 2c 20 61 6e | written| out, an|
|00000ab0| 64 20 64 65 66 61 75 6c | 74 73 20 74 6f 0a 20 20 |d defaul|ts to. |
|00000ac0| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 60 62 75 |the valu|e of `bu|
|00000ad0| 66 66 65 72 2d 66 69 6c | 65 2d 63 6f 64 69 6e 67 |ffer-fil|e-coding|
|00000ae0| 2d 73 79 73 74 65 6d 27 | 20 69 6e 20 74 68 65 20 |-system'| in the |
|00000af0| 63 75 72 72 65 6e 74 20 | 62 75 66 66 65 72 2e 0a |current |buffer..|
|00000b00| 20 20 57 68 65 6e 20 4d | 75 6c 65 20 73 75 70 70 | When M|ule supp|
|00000b10| 6f 72 74 20 69 73 20 6e | 6f 74 20 70 72 65 73 65 |ort is n|ot prese|
|00000b20| 6e 74 2c 20 74 68 65 20 | 43 4f 44 49 4e 47 2d 53 |nt, the |CODING-S|
|00000b30| 59 53 54 45 4d 20 61 72 | 67 75 6d 65 6e 74 20 69 |YSTEM ar|gument i|
|00000b40| 73 0a 20 20 69 67 6e 6f | 72 65 64 2e 1f 0a 28 64 |s. igno|red...(d|
|00000b50| 65 66 61 6c 69 61 73 20 | 27 77 72 69 74 65 2d 72 |efalias |'write-r|
|00000b60| 65 67 69 6f 6e 20 23 5b | 28 73 74 61 72 74 20 65 |egion #[|(start e|
|00000b70| 6e 64 20 66 69 6c 65 6e | 61 6d 65 20 26 6f 70 74 |nd filen|ame &opt|
|00000b80| 69 6f 6e 61 6c 20 61 70 | 70 65 6e 64 20 76 69 73 |ional ap|pend vis|
|00000b90| 69 74 20 6c 6f 63 6b 6e | 61 6d 65 20 63 6f 64 69 |it lockn|ame codi|
|00000ba0| 6e 67 2d 73 79 73 74 65 | 6d 29 20 22 c0 09 5c 6e |ng-syste|m) "..\n|
|00000bb0| 0b 0c 0d 0e 06 c7 26 07 | 87 22 20 5b 77 72 69 74 |......&.|." [writ|
|00000bc0| 65 2d 72 65 67 69 6f 6e | 2d 69 6e 74 65 72 6e 61 |e-region|-interna|
|00000bd0| 6c 20 73 74 61 72 74 20 | 65 6e 64 20 66 69 6c 65 |l start |end file|
|00000be0| 6e 61 6d 65 20 61 70 70 | 65 6e 64 20 76 69 73 69 |name app|end visi|
|00000bf0| 74 20 6c 6f 63 6b 6e 61 | 6d 65 20 6e 69 6c 5d 20 |t lockna|me nil] |
|00000c00| 38 20 28 23 24 20 2e 20 | 31 35 33 32 29 20 22 72 |8 (#$ . |1532) "r|
|00000c10| 5c 6e 46 57 72 69 74 65 | 20 72 65 67 69 6f 6e 20 |\nFWrite| region |
|00000c20| 74 6f 20 66 69 6c 65 3a | 20 22 5d 29 0a 23 40 35 |to file:| "]).#@5|
|00000c30| 32 31 20 45 78 65 63 75 | 74 65 20 61 20 66 69 6c |21 Execu|te a fil|
|00000c40| 65 20 6f 66 20 4c 69 73 | 70 20 63 6f 64 65 20 6e |e of Lis|p code n|
|00000c50| 61 6d 65 64 20 46 49 4c | 45 2e 0a 46 69 72 73 74 |amed FIL|E..First|
|00000c60| 20 74 72 79 20 46 49 4c | 45 20 77 69 74 68 20 60 | try FIL|E with `|
|00000c70| 2e 65 6c 63 27 20 61 70 | 70 65 6e 64 65 64 2c 20 |.elc' ap|pended, |
|00000c80| 74 68 65 6e 20 74 72 79 | 20 77 69 74 68 20 60 2e |then try| with `.|
|00000c90| 65 6c 27 2c 0a 20 74 68 | 65 6e 20 74 72 79 20 46 |el',. th|en try F|
|00000ca0| 49 4c 45 20 75 6e 6d 6f | 64 69 66 69 65 64 2e 0a |ILE unmo|dified..|
|00000cb0| 54 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 73 65 |This fun|ction se|
|00000cc0| 61 72 63 68 65 73 20 74 | 68 65 20 64 69 72 65 63 |arches t|he direc|
|00000cd0| 74 6f 72 69 65 73 20 69 | 6e 20 60 6c 6f 61 64 2d |tories i|n `load-|
|00000ce0| 70 61 74 68 27 2e 0a 49 | 66 20 6f 70 74 69 6f 6e |path'..I|f option|
|00000cf0| 61 6c 20 73 65 63 6f 6e | 64 20 61 72 67 20 4e 4f |al secon|d arg NO|
|00000d00| 45 52 52 4f 52 20 69 73 | 20 6e 6f 6e 2d 6e 69 6c |ERROR is| non-nil|
|00000d10| 2c 0a 20 72 65 70 6f 72 | 74 20 6e 6f 20 65 72 72 |,. repor|t no err|
|00000d20| 6f 72 20 69 66 20 46 49 | 4c 45 20 64 6f 65 73 6e |or if FI|LE doesn|
|00000d30| 27 74 20 65 78 69 73 74 | 2e 0a 50 72 69 6e 74 20 |'t exist|..Print |
|00000d40| 6d 65 73 73 61 67 65 73 | 20 61 74 20 73 74 61 72 |messages| at star|
|00000d50| 74 20 61 6e 64 20 65 6e | 64 20 6f 66 20 6c 6f 61 |t and en|d of loa|
|00000d60| 64 69 6e 67 20 75 6e 6c | 65 73 73 0a 20 6f 70 74 |ding unl|ess. opt|
|00000d70| 69 6f 6e 61 6c 20 74 68 | 69 72 64 20 61 72 67 20 |ional th|ird arg |
|00000d80| 4e 4f 4d 45 53 53 41 47 | 45 20 69 73 20 6e 6f 6e |NOMESSAG|E is non|
|00000d90| 2d 6e 69 6c 20 28 69 67 | 6e 6f 72 65 64 20 69 6e |-nil (ig|nored in|
|00000da0| 20 2d 62 61 74 63 68 20 | 6d 6f 64 65 29 2e 0a 49 | -batch |mode)..I|
|00000db0| 66 20 6f 70 74 69 6f 6e | 61 6c 20 66 6f 75 72 74 |f option|al fourt|
|00000dc0| 68 20 61 72 67 20 4e 4f | 53 55 46 46 49 58 20 69 |h arg NO|SUFFIX i|
|00000dd0| 73 20 6e 6f 6e 2d 6e 69 | 6c 2c 20 64 6f 6e 27 74 |s non-ni|l, don't|
|00000de0| 20 74 72 79 20 61 64 64 | 69 6e 67 0a 20 73 75 66 | try add|ing. suf|
|00000df0| 66 69 78 65 73 20 60 2e | 65 6c 63 27 20 6f 72 20 |fixes `.|elc' or |
|00000e00| 60 2e 65 6c 27 20 74 6f | 20 74 68 65 20 73 70 65 |`.el' to| the spe|
|00000e10| 63 69 66 69 65 64 20 6e | 61 6d 65 20 46 49 4c 45 |cified n|ame FILE|
|00000e20| 2e 0a 52 65 74 75 72 6e | 20 74 20 69 66 20 66 69 |..Return| t if fi|
|00000e30| 6c 65 20 65 78 69 73 74 | 73 2e 1f 0a 28 64 65 66 |le exist|s...(def|
|00000e40| 61 6c 69 61 73 20 27 6c | 6f 61 64 20 23 5b 28 66 |alias 'l|oad #[(f|
|00000e50| 69 6c 65 20 26 6f 70 74 | 69 6f 6e 61 6c 20 6e 6f |ile &opt|ional no|
|00000e60| 65 72 72 6f 72 20 6e 6f | 6d 65 73 73 61 67 65 20 |error no|message |
|00000e70| 6e 6f 73 75 66 66 69 78 | 29 20 22 c0 09 5c 6e 0b |nosuffix|) "..\n.|
|00000e80| 0c c5 89 26 06 87 22 20 | 5b 6c 6f 61 64 2d 69 6e |...&.." |[load-in|
|00000e90| 74 65 72 6e 61 6c 20 66 | 69 6c 65 20 6e 6f 65 72 |ternal f|ile noer|
|00000ea0| 72 6f 72 20 6e 6f 6d 65 | 73 73 61 67 65 20 6e 6f |ror nome|ssage no|
|00000eb0| 73 75 66 66 69 78 20 6e | 69 6c 5d 20 37 20 28 23 |suffix n|il] 7 (#|
|00000ec0| 24 20 2e 20 33 31 32 33 | 29 5d 29 0a |$ . 3123|)]). |
+--------+-------------------------+-------------------------+--------+--------+