> It looks like your patch might be incomplete; I get a void-variable:
> clojure-mode-abbrev-table when I run that.

So it is.  Looks like I had the defs in my private startup file for some
reason.  Here's a corrected patch.

Cheers,
Chris Dean

diff --git a/clojure-mode.el b/clojure-mode.el
index b7b2de0..62d236a 100644
--- a/clojure-mode.el
+++ b/clojure-mode.el
@@ -163,6 +163,10 @@ All commands in `lisp-mode-shared-map' are inherited by 
this map.")
     (modify-syntax-entry ?^ "'" table)
     table))
 
+(defvar clojure-mode-abbrev-table nil
+  "Abbrev table used in clojure-mode buffers.")
+
+(define-abbrev-table 'clojure-mode-abbrev-table ())
 
 (defvar clojure-prev-l/c-dir/file nil
   "Record last directory and file used in loading or compiling.
@@ -192,6 +196,8 @@ if that value is non-nil."
   (lisp-mode-variables nil)
   (set-syntax-table clojure-mode-syntax-table)
   
+  (setq local-abbrev-table clojure-mode-abbrev-table)
+
   (set (make-local-variable 'comment-start-skip)
        "\\(\\(^\\|[^\\\\\n]\\)\\(\\\\\\\\\\)*\\)\\(;+\\|#|\\) *")
   (set (make-local-variable 'lisp-indent-function)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to