phillord pushed a commit to branch externals/pabbrev in repository elpa. commit 435ed1e1bdf349da77ec76936beadab4a4a0e21e Author: Phillip Lord <phillip.l...@newcastle.ac.uk> Date: Mon Sep 23 20:53:48 2013 +0100
Clojure mode support added. --- tmmofl-x.el | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/tmmofl-x.el b/tmmofl-x.el index f6a164c..df80bc5 100644 --- a/tmmofl-x.el +++ b/tmmofl-x.el @@ -52,6 +52,22 @@ (lambda() (abbrev-mode 1))))) + +(defvar tmmofl-clojure-mode-actions + '((font-lock-comment-face + (lambda() + (progn + (auto-fill-mode 1))) + (lambda() + (progn + (auto-fill-mode 0)))) + + (font-lock-string-face + (lambda() + (auto-fill-mode 1)) + (lambda() + (auto-fill-mode 0))))) +