Mads Jensen <[EMAIL PROTECTED]> writes:

> Debugger entered--Lisp error: (error "Can't compile fortune file
>   /home/madsj/docs/ascii/misc/fortunes/usenet")

> (require 'fortune)
> (add-hook 'mail-setup-hook 'fortune-to-signature)
> (setq fortune-dir "/usr/share/games/fortune"
>       fortune-file "/usr/share/games/fortune/fortunes")

  Very strange.  'fortune-file' seems to keep its initial value.
Does switching the 'setq' before the 'require' help?  But IMHO it
will not change anything.

    (setq fortune-dir  "/usr/share/games/fortune"
          fortune-file "/usr/share/games/fortune/fortunes")
    (require 'fortune)
    (add-hook 'mail-setup-hook 'fortune-to-signature)

  BTW, because 'fortune-to-signature' is an autoload, you don't
need the 'require'.  So the feature will be loaded only if used.

--drkm

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to