|
From: | Kevin Rodgers |
Subject: | Re: autoinsert with TeX/LaTeX |
Date: | Mon, 21 Jul 2003 16:46:33 -0600 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
William Thompson wrote:
I've had the following lines in my .emacs file for a long time. ; Set Emacs up so that the file "tex-insert.tex" is automatically inserted ; into any new ".tex" file. (load "autoinsert") (setq auto-insert-directory "/usr/local/inputs/")However, in Emacs 21.2 this doesn't seem to work. I don't get the file /usr/local/inputs/tex-insert.tex inserted into new ".tex" files. Is there a new syntax I should be using?
From emacs-21.3/lisp/autoinsert.el: ;; To use: ;; (add-hook 'find-file-hooks 'auto-insert) ;; setq auto-insert-directory to an appropriate slash-terminated value ;; ;; You can also customize the variable `auto-insert-mode' to load the ;; package. Alternatively, add the following to your .emacs file: ;; (auto-insert-mode 1) -- Kevin Rodgers
[Prev in Thread] | Current Thread | [Next in Thread] |