Mercurial > hg > config
comparison .emacs @ 597:04dfe64d1ba7
STUB: .emacs
| author | Jeff Hammel <k0scist@gmail.com> | 
|---|---|
| date | Wed, 29 Jan 2014 12:23:55 -0800 | 
| parents | 680071699d35 | 
| children | ab9145ded910 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 596:c5537e841c78 | 597:04dfe64d1ba7 | 
|---|---|
| 163 | 163 | 
| 164 def main(args=sys.argv[1:]): | 164 def main(args=sys.argv[1:]): | 
| 165 | 165 | 
| 166 usage = '%prog [options]' | 166 usage = '%prog [options]' | 
| 167 parser = argparse.ArgumentParser(usage=usage, description=__doc__) | 167 parser = argparse.ArgumentParser(usage=usage, description=__doc__) | 
| 168 parser.add_option('input', nargs='?', | |
| 169 type=argparse.FileType('r'), default=sys.stdin, | |
| 170 help='input file, or read from stdin if ommitted') | |
| 168 options = parser.parse_args(args) | 171 options = parser.parse_args(args) | 
| 169 | 172 | 
| 170 if __name__ == '__main__': | 173 if __name__ == '__main__': | 
| 171 main()") | 174 main()") | 
| 172 ;; TODO: take directly from MakeItSo | 175 ;; TODO: take directly from MakeItSo | 
| 188 f.write(contents) | 191 f.write(contents) | 
| 189 f.close() | 192 f.close() | 
| 190 return imp.load_source(module, dest) | 193 return imp.load_source(module, dest) | 
| 191 ") | 194 ") | 
| 192 | 195 | 
| 193 (fset 'mozbase-test "#!/usr/bin/env python | 196 (fset 'python-test "#!/usr/bin/env python | 
| 194 | 197 | 
| 195 # This Source Code Form is subject to the terms of the Mozilla Public | 198 # This Source Code Form is subject to the terms of the Mozilla Public | 
| 196 # License, v. 2.0. If a copy of the MPL was not distributed with this file, | 199 # License, v. 2.0. If a copy of the MPL was not distributed with this file, | 
| 197 # You can obtain one at http://mozilla.org/MPL/2.0/. | 200 # You can obtain one at http://mozilla.org/MPL/2.0/. | 
| 198 | 201 | 
