help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to load a lisp file automatically


From: Kin Cho
Subject: Re: How to load a lisp file automatically
Date: 11 Dec 2003 12:17:24 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

> (setq load-path (cons "~/" load-path))
> (require 'setnu)
> (add-hook 'text-mode-hook 'turn-on-setnu-mode)

Try adding to the bottom of setnu.el (and byte-compile it again):

(provide 'setnu)

-kin


reply via email to

[Prev in Thread] Current Thread [Next in Thread]