File:  [CSRG BSD Unix] / 43BSD / contrib / emacs / lisp / tex-start.el
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

; This file is for use by TeX82 (see man page) to allow switching to
;  Emacs at a line number given on the command line
; It assumes that it has been called by:
;	emacs -l tex-start -e startline <linenumber> <file>

(defun startline ()
  ;(setq command-line-args (cdr command-line-args))
  (find-file (car (cdr command-line-args)))
  (goto-char (point-min))
  (forward-line (1- (string-to-int (car command-line-args))))
  (setq command-line-args ()))

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.