Mercurial > hg > xemacs-beta
comparison lisp/packages/doctex.el @ 78:c7528f8e288d r20-0b34
Import from CVS: tag r20-0b34
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:05:42 +0200 |
parents | 376386a54a3c |
children |
comparison
equal
deleted
inserted
replaced
77:6cb4f478e7bc | 78:c7528f8e288d |
---|---|
38 ((not (stringp LaTeXify-DOC-style)) | 38 ((not (stringp LaTeXify-DOC-style)) |
39 (error "LaTeXify-DOC-style must be a string"))) | 39 (error "LaTeXify-DOC-style must be a string"))) |
40 ; | 40 ; |
41 ; Select the DOC file. | 41 ; Select the DOC file. |
42 ; | 42 ; |
43 (find-file (expand-file-name | 43 (find-file (expand-file-name "DOC" exec-directory)) |
44 (if (fboundp 'dump-emacs) | |
45 (concat "DOC-" emacs-version) | |
46 "DOC") | |
47 exec-directory)) | |
48 (setq buffer-read-only nil) | 44 (setq buffer-read-only nil) |
49 (auto-save-mode 0) | 45 (auto-save-mode 0) |
50 (set-visited-file-name (concat (buffer-file-name) ".tex")) | 46 (set-visited-file-name (concat (buffer-file-name) ".tex")) |
51 (delete-other-windows) | 47 (delete-other-windows) |
52 ; | 48 ; |