Previous in series: 3 - LaTeX
In this
post I wrote about how to use Emacs for blogging. That's nice in itself, but
there's some stuff needed when editing blog posts. Thus, blog.el:
;;;###autoload (defun blog-init () (interactive) (html-mode) (auto-fill-mode) (ispell-change-dictionary "american" t) (flyspell-mode) )
Another improvement is adding the .blog file extension to the
It's All Text Firefox extension. Last thing is associating it with our little
init function. This took some googling, but the solution, in .emacs:
(autoload 'blog-init "blog") ---SNIP--- (push '("\\.blog\\'" . blog-init) auto-mode-alist)
Another degree of perfection reached by Emacs.
No comments:
Post a Comment