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 / apel / path-util.elc.z / path-util.elc
Emacs Compiled Lisp  |  1998-05-21  |  3.5 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 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 34 36 3a 30 36 20 31 | 39 39 38 0a 3b 3b 3b 20 |:46:06 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 61 70 65 6c |s-20.3/l|isp/apel|
|000000a0| 2f 70 61 74 68 2d 75 74 | 69 6c 2e 65 6c 0a 3b 3b |/path-ut|il.el.;;|
|000000b0| 3b 20 65 6d 61 63 73 20 | 76 65 72 73 69 6f 6e 20 |; emacs |version |
|000000c0| 32 30 2e 34 20 22 45 6d | 65 72 61 6c 64 22 20 58 |20.4 "Em|erald" X|
|000000d0| 45 6d 61 63 73 20 20 4c | 75 63 69 64 2e 0a 3b 3b |Emacs L|ucid..;;|
|000000e0| 3b 20 62 79 74 65 63 6f | 6d 70 20 76 65 72 73 69 |; byteco|mp versi|
|000000f0| 6f 6e 20 32 2e 32 35 20 | 58 45 6d 61 63 73 3b 20 |on 2.25 |XEmacs; |
|00000100| 32 32 2d 4d 61 72 2d 39 | 36 2e 0a 3b 3b 3b 20 6f |22-Mar-9|6..;;; o|
|00000110| 70 74 69 6d 69 7a 61 74 | 69 6f 6e 20 69 73 20 6f |ptimizat|ion is o|
|00000120| 6e 2e 0a 3b 3b 3b 20 74 | 68 69 73 20 66 69 6c 65 |n..;;; t|his file|
|00000130| 20 75 73 65 73 20 6f 70 | 63 6f 64 65 73 20 77 68 | uses op|codes wh|
|00000140| 69 63 68 20 64 6f 20 6e | 6f 74 20 65 78 69 73 74 |ich do n|ot exist|
|00000150| 20 69 6e 20 45 6d 61 63 | 73 20 31 39 2e 0a 0a 28 | in Emac|s 19...(|
|00000160| 69 66 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |if (and |(boundp |
|00000170| 27 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 29 0a |'emacs-v|ersion).|
|00000180| 09 20 28 6f 72 20 28 61 | 6e 64 20 28 62 6f 75 6e |. (or (a|nd (boun|
|00000190| 64 70 20 27 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |dp 'epoc|h::versi|
|000001a0| 6f 6e 29 20 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |on) epoc|h::versi|
|000001b0| 6f 6e 29 0a 09 20 20 20 | 20 20 28 73 74 72 69 6e |on).. | (strin|
|000001c0| 67 2d 6c 65 73 73 70 20 | 65 6d 61 63 73 2d 76 65 |g-lessp |emacs-ve|
|000001d0| 72 73 69 6f 6e 20 22 32 | 30 22 29 29 29 0a 20 20 |rsion "2|0"))). |
|000001e0| 20 20 28 65 72 72 6f 72 | 20 22 60 70 61 74 68 2d | (error| "`path-|
|000001f0| 75 74 69 6c 2e 65 6c 27 | 20 77 61 73 20 63 6f 6d |util.el'| was com|
|00000200| 70 69 6c 65 64 20 66 6f | 72 20 45 6d 61 63 73 20 |piled fo|r Emacs |
|00000210| 32 30 22 29 29 0a 0a 28 | 6f 72 20 28 62 6f 75 6e |20"))..(|or (boun|
|00000220| 64 70 20 27 63 75 72 72 | 65 6e 74 2d 6c 6f 61 64 |dp 'curr|ent-load|
|00000230| 2d 6c 69 73 74 29 20 28 | 73 65 74 71 20 63 75 72 |-list) (|setq cur|
|00000240| 72 65 6e 74 2d 6c 6f 61 | 64 2d 6c 69 73 74 20 6e |rent-loa|d-list n|
|00000250| 69 6c 29 29 0a 0a 0a 23 | 40 31 31 34 20 2a 42 61 |il))...#|@114 *Ba|
|00000260| 73 65 20 6f 66 20 60 6c | 6f 61 64 2d 70 61 74 68 |se of `l|oad-path|
|00000270| 27 2e 0a 49 74 20 69 73 | 20 75 73 65 64 20 61 73 |'..It is| used as|
|00000280| 20 64 65 66 61 75 6c 74 | 20 76 61 6c 75 65 20 6f | default| value o|
|00000290| 66 20 74 61 72 67 65 74 | 20 70 61 74 68 20 74 6f |f target| path to|
|000002a0| 20 73 65 61 72 63 68 20 | 66 69 6c 65 20 6f 72 0a | search |file or.|
|000002b0| 73 75 62 64 69 72 65 63 | 74 6f 72 79 20 75 6e 64 |subdirec|tory und|
|000002c0| 65 72 20 6c 6f 61 64 2d | 70 61 74 68 2e 1f 0a 28 |er load-|path...(|
|000002d0| 64 65 66 76 61 72 20 64 | 65 66 61 75 6c 74 2d 6c |defvar d|efault-l|
|000002e0| 6f 61 64 2d 70 61 74 68 | 20 6c 6f 61 64 2d 70 61 |oad-path| load-pa|
|000002f0| 74 68 20 28 23 24 20 2e | 20 2d 36 30 35 29 29 0a |th (#$ .| -605)).|
|00000300| 23 40 34 35 37 20 41 64 | 64 20 50 41 54 48 20 74 |#@457 Ad|d PATH t|
|00000310| 6f 20 60 6c 6f 61 64 2d | 70 61 74 68 27 20 69 66 |o `load-|path' if|
|00000320| 20 69 74 20 65 78 69 73 | 74 73 20 75 6e 64 65 72 | it exis|ts under|
|00000330| 20 60 64 65 66 61 75 6c | 74 2d 6c 6f 61 64 2d 70 | `defaul|t-load-p|
|00000340| 61 74 68 27 0a 64 69 72 | 65 63 74 6f 72 69 65 73 |ath'.dir|ectories|
|00000350| 20 61 6e 64 20 69 74 20 | 64 6f 65 73 20 6e 6f 74 | and it |does not|
|00000360| 20 65 78 69 73 74 20 69 | 6e 20 60 6c 6f 61 64 2d | exist i|n `load-|
|00000370| 70 61 74 68 27 2e 0a 0a | 59 6f 75 20 63 61 6e 20 |path'...|You can |
|00000380| 75 73 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 50 41 |use foll|owing PA|
|00000390| 54 48 20 73 74 79 6c 65 | 73 3a 0a 09 6c 6f 61 64 |TH style|s:..load|
|000003a0| 2d 70 61 74 68 20 72 65 | 6c 61 74 69 76 65 3a 20 |-path re|lative: |
|000003b0| 22 50 41 54 48 2f 22 0a | 09 09 09 28 69 74 20 69 |"PATH/".|...(it i|
|000003c0| 73 20 73 65 61 72 63 68 | 65 64 20 66 72 6f 6d 20 |s search|ed from |
|000003d0| 60 64 65 66 61 75 6c 2d | 6c 6f 61 64 2d 70 61 74 |`defaul-|load-pat|
|000003e0| 68 27 29 0a 09 68 6f 6d | 65 20 64 69 72 65 63 74 |h')..hom|e direct|
|000003f0| 6f 72 79 20 72 65 6c 61 | 74 69 76 65 3a 20 22 7e |ory rela|tive: "~|
|00000400| 2f 50 41 54 48 2f 22 20 | 22 7e 55 53 45 52 2f 50 |/PATH/" |"~USER/P|
|00000410| 41 54 48 2f 22 0a 09 61 | 62 73 6f 6c 75 74 65 20 |ATH/"..a|bsolute |
|00000420| 70 61 74 68 3a 20 22 2f | 48 4f 4f 2f 42 41 52 2f |path: "/|HOO/BAR/|
|00000430| 42 41 5a 2f 22 0a 0a 59 | 6f 75 20 63 61 6e 20 73 |BAZ/"..Y|ou can s|
|00000440| 70 65 63 69 66 79 20 66 | 6f 6c 6c 6f 77 69 6e 67 |pecify f|ollowing|
|00000450| 20 4f 50 54 49 4f 4e 53 | 3a 0a 09 27 61 6c 6c 2d | OPTIONS|:..'all-|
|00000460| 70 61 74 68 73 09 73 65 | 61 72 63 68 20 66 72 6f |paths.se|arch fro|
|00000470| 6d 20 60 6c 6f 61 64 2d | 70 61 74 68 27 0a 09 09 |m `load-|path'...|
|00000480| 09 69 6e 73 74 65 61 64 | 20 6f 66 20 60 64 65 66 |.instead| of `def|
|00000490| 61 75 6c 74 2d 6c 6f 61 | 64 2d 70 61 74 68 27 0a |ault-loa|d-path'.|
|000004a0| 09 27 61 70 70 65 6e 64 | 09 09 61 64 64 20 50 41 |.'append|..add PA|
|000004b0| 54 48 20 74 6f 20 74 68 | 65 20 6c 61 73 74 20 6f |TH to th|e last o|
|000004c0| 66 20 60 6c 6f 61 64 2d | 70 61 74 68 27 1f 0a 28 |f `load-|path'..(|
|000004d0| 64 65 66 61 6c 69 61 73 | 20 27 61 64 64 2d 70 61 |defalias| 'add-pa|
|000004e0| 74 68 20 23 5b 28 70 61 | 74 68 20 26 72 65 73 74 |th #[(pa|th &rest|
|000004f0| 20 6f 70 74 69 6f 6e 73 | 29 20 22 c0 09 73 ab 83 | options|) "..s..|
|00000500| 5c 6e aa 81 0b c4 1d 1e | 06 c7 c8 8d ad 97 0d 5c |\n......|.......\|
|00000510| 6e b6 3f ad 91 c9 09 73 | ab 87 c9 5c 6e 0d 43 5c |n.?....s|...\n.C\|
|00000520| 22 aa 83 0d 5c 6e 42 89 | 12 2a 87 22 20 5b 61 6c |"...\nB.|.*." [al|
|00000530| 6c 2d 70 61 74 68 73 20 | 6f 70 74 69 6f 6e 73 20 |l-paths |options |
|00000540| 6c 6f 61 64 2d 70 61 74 | 68 20 64 65 66 61 75 6c |load-pat|h defaul|
|00000550| 74 2d 6c 6f 61 64 2d 70 | 61 74 68 20 6e 69 6c 20 |t-load-p|ath nil |
|00000560| 70 20 72 65 73 74 20 74 | 61 67 20 28 62 79 74 65 |p rest t|ag (byte|
|00000570| 2d 63 6f 64 65 20 22 08 | ad 97 c1 5c 6e 08 40 5c |-code ".|...\n.@\|
|00000580| 22 13 c4 0b 21 ab 85 c5 | c6 0b 5c 22 88 08 41 89 |"...!...|..\"..A.|
|00000590| 10 ac 6a c7 87 22 20 5b | 72 65 73 74 20 65 78 70 |..j.." [|rest exp|
|000005a0| 61 6e 64 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 70 61 |and-file|-name pa|
|000005b0| 74 68 20 70 20 66 69 6c | 65 2d 64 69 72 65 63 74 |th p fil|e-direct|
|000005c0| 6f 72 79 2d 70 20 74 68 | 72 6f 77 20 74 61 67 20 |ory-p th|row tag |
|000005d0| 6e 69 6c 5d 20 34 29 20 | 61 70 70 65 6e 64 5d 20 |nil] 4) |append] |
|000005e0| 33 20 28 23 24 20 2e 20 | 37 37 34 29 5d 29 0a 23 |3 (#$ . |774)]).#|
|000005f0| 40 32 35 33 20 41 64 64 | 20 6c 61 74 65 73 74 20 |@253 Add| latest |
|00000600| 70 61 74 68 20 6d 61 74 | 63 68 65 64 20 62 79 20 |path mat|ched by |
|00000610| 50 41 54 54 45 52 4e 20 | 74 6f 20 60 6c 6f 61 64 |PATTERN |to `load|
|00000620| 2d 70 61 74 68 27 0a 69 | 66 20 69 74 20 65 78 69 |-path'.i|f it exi|
|00000630| 73 74 73 20 75 6e 64 65 | 72 20 60 64 65 66 61 75 |sts unde|r `defau|
|00000640| 6c 74 2d 6c 6f 61 64 2d | 70 61 74 68 27 20 64 69 |lt-load-|path' di|
|00000650| 72 65 63 74 6f 72 69 65 | 73 0a 61 6e 64 20 69 74 |rectorie|s.and it|
|00000660| 20 64 6f 65 73 20 6e 6f | 74 20 65 78 69 73 74 20 | does no|t exist |
|00000670| 69 6e 20 60 6c 6f 61 64 | 2d 70 61 74 68 27 2e 0a |in `load|-path'..|
|00000680| 0a 49 66 20 6f 70 74 69 | 6f 6e 61 6c 20 61 72 67 |.If opti|onal arg|
|00000690| 75 6d 65 6e 74 20 41 4c | 4c 2d 50 41 54 48 53 20 |ument AL|L-PATHS |
|000006a0| 69 73 20 73 70 65 63 69 | 66 69 65 64 2c 20 69 74 |is speci|fied, it|
|000006b0| 20 69 73 20 73 65 61 72 | 63 68 65 64 20 66 72 6f | is sear|ched fro|
|000006c0| 6d 20 61 6c 6c 0a 6f 66 | 20 6c 6f 61 64 2d 70 61 |m all.of| load-pa|
|000006d0| 74 68 20 69 6e 73 74 65 | 61 64 20 6f 66 20 64 65 |th inste|ad of de|
|000006e0| 66 61 75 6c 74 2d 6c 6f | 61 64 2d 70 61 74 68 2e |fault-lo|ad-path.|
|000006f0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 61 64 64 |..(defal|ias 'add|
|00000700| 2d 6c 61 74 65 73 74 2d | 70 61 74 68 20 23 5b 28 |-latest-|path #[(|
|00000710| 70 61 74 74 65 72 6e 20 | 26 6f 70 74 69 6f 6e 61 |pattern |&optiona|
|00000720| 6c 20 61 6c 6c 2d 70 61 | 74 68 73 29 20 22 c0 09 |l all-pa|ths) "..|
|00000730| 5c 6e 5c 22 89 1b ad 84 | c4 c5 0b 5c 22 29 87 22 |\n\"....|...\")."|
|00000740| 20 5b 67 65 74 2d 6c 61 | 74 65 73 74 2d 70 61 74 | [get-la|test-pat|
|00000750| 68 20 70 61 74 74 65 72 | 6e 20 61 6c 6c 2d 70 61 |h patter|n all-pa|
|00000760| 74 68 73 20 70 61 74 68 | 20 61 64 64 2d 74 6f 2d |ths path| add-to-|
|00000770| 6c 69 73 74 20 6c 6f 61 | 64 2d 70 61 74 68 5d 20 |list loa|d-path] |
|00000780| 34 20 28 23 24 20 2e 20 | 31 35 32 35 29 5d 29 0a |4 (#$ . |1525)]).|
|00000790| 23 40 31 39 34 20 52 65 | 74 75 72 6e 20 6c 61 74 |#@194 Re|turn lat|
|000007a0| 65 73 74 20 64 69 72 65 | 63 74 6f 72 79 20 69 6e |est dire|ctory in|
|000007b0| 20 64 65 66 61 75 6c 74 | 2d 6c 6f 61 64 2d 70 61 | default|-load-pa|
|000007c0| 74 68 0a 77 68 69 63 68 | 20 69 73 20 6d 61 74 63 |th.which| is matc|
|000007d0| 68 65 64 20 74 6f 20 72 | 65 67 65 78 70 20 50 41 |hed to r|egexp PA|
|000007e0| 54 54 45 52 4e 2e 0a 49 | 66 20 6f 70 74 69 6f 6e |TTERN..I|f option|
|000007f0| 61 6c 20 61 72 67 75 6d | 65 6e 74 20 41 4c 4c 2d |al argum|ent ALL-|
|00000800| 50 41 54 48 53 20 69 73 | 20 73 70 65 63 69 66 69 |PATHS is| specifi|
|00000810| 65 64 2c 0a 69 74 20 69 | 73 20 73 65 61 72 63 68 |ed,.it i|s search|
|00000820| 65 64 20 66 72 6f 6d 20 | 61 6c 6c 20 6f 66 20 6c |ed from |all of l|
|00000830| 6f 61 64 2d 70 61 74 68 | 20 69 6e 73 74 65 61 64 |oad-path| instead|
|00000840| 20 6f 66 20 64 65 66 61 | 75 6c 74 2d 6c 6f 61 64 | of defa|ult-load|
|00000850| 2d 70 61 74 68 2e 1f 0a | 28 64 65 66 61 6c 69 61 |-path...|(defalia|
|00000860| 73 20 27 67 65 74 2d 6c | 61 74 65 73 74 2d 70 61 |s 'get-l|atest-pa|
|00000870| 74 68 20 23 5b 28 70 61 | 74 74 65 72 6e 20 26 6f |th #[(pa|ttern &o|
|00000880| 70 74 69 6f 6e 61 6c 20 | 61 6c 6c 2d 70 61 74 68 |ptional |all-path|
|00000890| 73 29 20 22 c0 c1 8d 87 | 22 20 5b 74 61 67 20 28 |s) "....|" [tag (|
|000008a0| 62 79 74 65 2d 63 6f 64 | 65 20 22 08 ab 83 09 aa |byte-cod|e ".....|
|000008b0| 81 5c 6e c3 1c 89 1d 40 | 89 14 ad bb c6 0c 21 ab |.\n....@|......!.|
|000008c0| b0 c7 0c 21 ab ab c8 c9 | 0c ca 0e 0b ca 24 cc 5c |...!....|.....$.\|
|000008d0| 22 c3 1e 0d 89 1e 0e 40 | 89 16 0d ab 94 c7 0e 0d |"......@|........|
|000008e0| 21 ab 86 cf d0 0e 0d 5c | 22 88 0e 0e 41 89 16 0e |!......\|"...A...|
|000008f0| aa 66 2a 0d 41 89 15 aa | 40 2a 87 22 20 5b 61 6c |.f*.A...|@*." [al|
|00000900| 6c 2d 70 61 74 68 73 20 | 6c 6f 61 64 2d 70 61 74 |l-paths |load-pat|
|00000910| 68 20 64 65 66 61 75 6c | 74 2d 6c 6f 61 64 2d 70 |h defaul|t-load-p|
|00000920| 61 74 68 20 6e 69 6c 20 | 64 69 72 20 70 61 74 68 |ath nil |dir path|
|00000930| 73 20 66 69 6c 65 2d 65 | 78 69 73 74 73 2d 70 20 |s file-e|xists-p |
|00000940| 66 69 6c 65 2d 64 69 72 | 65 63 74 6f 72 79 2d 70 |file-dir|ectory-p|
|00000950| 20 73 6f 72 74 20 64 69 | 72 65 63 74 6f 72 79 2d | sort di|rectory-|
|00000960| 66 69 6c 65 73 20 74 20 | 70 61 74 74 65 72 6e 20 |files t |pattern |
|00000970| 66 69 6c 65 2d 6e 65 77 | 65 72 2d 74 68 61 6e 2d |file-new|er-than-|
|00000980| 66 69 6c 65 2d 70 20 66 | 69 6c 65 20 66 69 6c 65 |file-p f|ile file|
|00000990| 73 20 74 68 72 6f 77 20 | 74 61 67 5d 20 37 29 5d |s throw |tag] 7)]|
|000009a0| 20 32 20 28 23 24 20 2e | 20 31 39 34 32 29 5d 29 | 2 (#$ .| 1942)])|
|000009b0| 0a 23 40 39 37 20 52 65 | 74 75 72 6e 20 61 62 73 |.#@97 Re|turn abs|
|000009c0| 6f 6c 75 74 65 2d 70 61 | 74 68 20 6f 66 20 46 49 |olute-pa|th of FI|
|000009d0| 4c 45 20 69 66 20 46 49 | 4c 45 20 65 78 69 73 74 |LE if FI|LE exist|
|000009e0| 73 20 69 6e 20 50 41 54 | 48 53 2e 0a 49 66 20 50 |s in PAT|HS..If P|
|000009f0| 41 54 48 53 20 69 73 20 | 6f 6d 69 74 74 65 64 2c |ATHS is |omitted,|
|00000a00| 20 60 6c 6f 61 64 2d 70 | 61 74 68 27 20 69 73 20 | `load-p|ath' is |
|00000a10| 75 73 65 64 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |used...(|defalias|
|00000a20| 20 27 66 69 6c 65 2d 69 | 6e 73 74 61 6c 6c 65 64 | 'file-i|nstalled|
|00000a30| 2d 70 20 23 5b 28 66 69 | 6c 65 20 26 6f 70 74 69 |-p #[(fi|le &opti|
|00000a40| 6f 6e 61 6c 20 70 61 74 | 68 73 29 20 22 08 ac 82 |onal pat|hs) "...|
|00000a50| 09 10 c2 c3 8d 87 22 20 | 5b 70 61 74 68 73 20 6c |......" |[paths l|
|00000a60| 6f 61 64 2d 70 61 74 68 | 20 74 61 67 20 28 62 79 |oad-path| tag (by|
|00000a70| 74 65 2d 63 6f 64 65 20 | 22 c0 19 5c 6e ad 97 c3 |te-code |"..\n...|
|00000a80| 0c 5c 6e 40 5c 22 11 c5 | 09 21 ab 85 c6 c7 09 5c |.\n@\"..|.!.....\|
|00000a90| 22 88 5c 6e 41 89 12 ac | 6a c0 29 87 22 20 5b 6e |".\nA...|j.)." [n|
|00000aa0| 69 6c 20 70 61 74 68 20 | 70 61 74 68 73 20 65 78 |il path |paths ex|
|00000ab0| 70 61 6e 64 2d 66 69 6c | 65 2d 6e 61 6d 65 20 66 |pand-fil|e-name f|
|00000ac0| 69 6c 65 20 66 69 6c 65 | 2d 65 78 69 73 74 73 2d |ile file|-exists-|
|00000ad0| 70 20 74 68 72 6f 77 20 | 74 61 67 5d 20 34 29 5d |p throw |tag] 4)]|
|00000ae0| 20 32 20 28 23 24 20 2e | 20 32 34 38 36 29 5d 29 | 2 (#$ .| 2486)])|
|00000af0| 0a 23 40 33 35 20 2a 4c | 69 73 74 20 6f 66 20 73 |.#@35 *L|ist of s|
|00000b00| 75 66 66 69 78 65 73 20 | 66 6f 72 20 65 78 65 63 |uffixes |for exec|
|00000b10| 75 74 61 62 6c 65 2e 1f | 0a 28 64 65 66 76 61 72 |utable..|.(defvar|
|00000b20| 20 65 78 65 63 2d 73 75 | 66 66 69 78 2d 6c 69 73 | exec-su|ffix-lis|
|00000b30| 74 20 27 28 22 22 29 20 | 28 23 24 20 2e 20 2d 32 |t '("") |(#$ . -2|
|00000b40| 38 30 36 29 29 0a 23 40 | 31 34 39 20 52 65 74 75 |806)).#@|149 Retu|
|00000b50| 72 6e 20 61 62 73 6f 6c | 75 74 65 2d 70 61 74 68 |rn absol|ute-path|
|00000b60| 20 6f 66 20 46 49 4c 45 | 20 69 66 20 46 49 4c 45 | of FILE| if FILE|
|00000b70| 20 65 78 69 73 74 73 20 | 69 6e 20 50 41 54 48 53 | exists |in PATHS|
|00000b80| 2e 0a 49 66 20 50 41 54 | 48 53 20 69 73 20 6f 6d |..If PAT|HS is om|
|00000b90| 69 74 74 65 64 2c 20 60 | 65 78 65 63 2d 70 61 74 |itted, `|exec-pat|
|00000ba0| 68 27 20 69 73 20 75 73 | 65 64 2e 0a 49 66 20 73 |h' is us|ed..If s|
|00000bb0| 75 66 66 69 78 65 73 20 | 69 73 20 6f 6d 69 74 74 |uffixes |is omitt|
|00000bc0| 65 64 2c 20 60 65 78 65 | 63 2d 73 75 66 66 69 78 |ed, `exe|c-suffix|
|00000bd0| 2d 6c 69 73 74 27 20 69 | 73 20 75 73 65 64 2e 1f |-list' i|s used..|
|00000be0| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 65 78 65 63 |.(defali|as 'exec|
|00000bf0| 2d 69 6e 73 74 61 6c 6c | 65 64 2d 70 20 23 5b 28 |-install|ed-p #[(|
|00000c00| 66 69 6c 65 20 26 6f 70 | 74 69 6f 6e 61 6c 20 70 |file &op|tional p|
|00000c10| 61 74 68 73 20 73 75 66 | 66 69 78 65 73 29 20 22 |aths suf|fixes) "|
|00000c20| 08 ac 82 09 10 5c 6e ac | 82 0b 12 c4 c5 8d 87 22 |.....\n.|......."|
|00000c30| 20 5b 70 61 74 68 73 20 | 65 78 65 63 2d 70 61 74 | [paths |exec-pat|
|00000c40| 68 20 73 75 66 66 69 78 | 65 73 20 65 78 65 63 2d |h suffix|es exec-|
|00000c50| 73 75 66 66 69 78 2d 6c | 69 73 74 20 74 61 67 20 |suffix-l|ist tag |
|00000c60| 28 62 79 74 65 2d 63 6f | 64 65 20 22 08 ad a9 c1 |(byte-co|de "....|
|00000c70| 5c 6e 08 40 5c 22 0b 1c | 1d 0c ab 96 0d 0c 40 50 |\n.@\"..|......@P|
|00000c80| 1a c6 5c 6e 21 ab 85 c7 | c8 5c 6e 5c 22 88 29 0c |..\n!...|.\n\".).|
|00000c90| 41 89 14 ac 6a 2a 08 41 | 89 10 ac 58 c9 87 22 20 |A...j*.A|...X.." |
|00000ca0| 5b 70 61 74 68 73 20 65 | 78 70 61 6e 64 2d 66 69 |[paths e|xpand-fi|
|00000cb0| 6c 65 2d 6e 61 6d 65 20 | 66 69 6c 65 20 73 75 66 |le-name |file suf|
|00000cc0| 66 69 78 65 73 20 73 75 | 66 73 20 73 74 65 6d 20 |fixes su|fs stem |
|00000cd0| 66 69 6c 65 2d 65 78 69 | 73 74 73 2d 70 20 74 68 |file-exi|sts-p th|
|00000ce0| 72 6f 77 20 74 61 67 20 | 6e 69 6c 5d 20 34 29 5d |row tag |nil] 4)]|
|00000cf0| 20 32 20 28 23 24 20 2e | 20 32 38 39 32 29 5d 29 | 2 (#$ .| 2892)])|
|00000d00| 0a 23 40 39 34 20 52 65 | 74 75 72 6e 20 74 20 69 |.#@94 Re|turn t i|
|00000d10| 66 20 6d 6f 64 75 6c 65 | 20 69 73 20 70 72 6f 76 |f module| is prov|
|00000d20| 69 64 65 64 20 6f 72 20 | 65 78 69 73 74 73 20 69 |ided or |exists i|
|00000d30| 6e 20 50 41 54 48 53 2e | 0a 49 66 20 50 41 54 48 |n PATHS.|.If PATH|
|00000d40| 53 20 69 73 20 6f 6d 69 | 74 74 65 64 2c 20 60 6c |S is omi|tted, `l|
|00000d50| 6f 61 64 2d 70 61 74 68 | 27 20 69 73 20 75 73 65 |oad-path|' is use|
|00000d60| 64 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 6d |d...(def|alias 'm|
|00000d70| 6f 64 75 6c 65 2d 69 6e | 73 74 61 6c 6c 65 64 2d |odule-in|stalled-|
|00000d80| 70 20 23 5b 28 6d 6f 64 | 75 6c 65 20 26 6f 70 74 |p #[(mod|ule &opt|
|00000d90| 69 6f 6e 61 6c 20 70 61 | 74 68 73 29 20 22 c0 09 |ional pa|ths) "..|
|00000da0| 21 ae 87 c2 c3 09 21 0c | c5 23 87 22 20 5b 66 65 |!.....!.|.#." [fe|
|00000db0| 61 74 75 72 65 70 20 6d | 6f 64 75 6c 65 20 65 78 |aturep m|odule ex|
|00000dc0| 65 63 2d 69 6e 73 74 61 | 6c 6c 65 64 2d 70 20 73 |ec-insta|lled-p s|
|00000dd0| 79 6d 62 6f 6c 2d 6e 61 | 6d 65 20 6c 6f 61 64 2d |ymbol-na|me load-|
|00000de0| 70 61 74 68 20 28 22 2e | 65 6c 63 22 20 22 2e 65 |path (".|elc" ".e|
|00000df0| 6c 22 29 5d 20 34 20 28 | 23 24 20 2e 20 33 33 33 |l")] 4 (|#$ . 333|
|00000e00| 34 29 5d 29 0a 28 70 72 | 6f 76 69 64 65 20 27 70 |4)]).(pr|ovide 'p|
|00000e10| 61 74 68 2d 75 74 69 6c | 29 0a |ath-util|). |
+--------+-------------------------+-------------------------+--------+--------+