aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Tromey1995-07-11 03:13:15 +0000
committerTom Tromey1995-07-11 03:13:15 +0000
commit68734e7b47ed8dd37d12e223eabfbac91dc811b3 (patch)
treefd0c0725791fb444d511611c198b617070ff4b1b
parentd9817d8cd78d8fcc82bc6576cc42978d07bd35df (diff)
downloademacs-68734e7b47ed8dd37d12e223eabfbac91dc811b3.tar.gz
emacs-68734e7b47ed8dd37d12e223eabfbac91dc811b3.zip
(tcl-mode): Customize for new dabbrev.
-rw-r--r--lisp/progmodes/tcl.el20
1 files changed, 17 insertions, 3 deletions
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el
index bc0f75338d7..5c52b40c497 100644
--- a/lisp/progmodes/tcl.el
+++ b/lisp/progmodes/tcl.el
@@ -6,7 +6,7 @@
6;; Author: Tom Tromey <tromey@busco.lanl.gov> 6;; Author: Tom Tromey <tromey@busco.lanl.gov>
7;; Chris Lindblad <cjl@lcs.mit.edu> 7;; Chris Lindblad <cjl@lcs.mit.edu>
8;; Keywords: languages tcl modes 8;; Keywords: languages tcl modes
9;; Version: $Revision: 1.38 $ 9;; Version: $Revision: 1.39 $
10 10
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12 12
@@ -51,7 +51,7 @@
51;; LCD Archive Entry: 51;; LCD Archive Entry:
52;; tcl|Tom Tromey|tromey@busco.lanl.gov| 52;; tcl|Tom Tromey|tromey@busco.lanl.gov|
53;; Major mode for editing Tcl| 53;; Major mode for editing Tcl|
54;; $Date: 1995/07/09 21:30:32 $|$Revision: 1.38 $|~/modes/tcl.el.Z| 54;; $Date: 1995/07/09 21:58:03 $|$Revision: 1.39 $|~/modes/tcl.el.Z|
55 55
56;; CUSTOMIZATION NOTES: 56;; CUSTOMIZATION NOTES:
57;; * tcl-proc-list can be used to customize a list of things that 57;; * tcl-proc-list can be used to customize a list of things that
@@ -65,6 +65,10 @@
65 65
66;; Change log: 66;; Change log:
67;; $Log: tcl.el,v $ 67;; $Log: tcl.el,v $
68;; Revision 1.39 1995/07/09 21:58:03 tromey
69;; (tcl-do-fill-paragraph): New function.
70;; (tcl-mode): Set up for paragraph filling.
71;;
68;; Revision 1.38 1995/07/09 21:30:32 tromey 72;; Revision 1.38 1995/07/09 21:30:32 tromey
69;; (tcl-mode): Fixes to 19.29 paragraph variables. 73;; (tcl-mode): Fixes to 19.29 paragraph variables.
70;; 74;;
@@ -325,7 +329,7 @@
325 (require 'imenu)) 329 (require 'imenu))
326 ())) 330 ()))
327 331
328(defconst tcl-version "$Revision: 1.38 $") 332(defconst tcl-version "$Revision: 1.39 $")
329(defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>") 333(defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>")
330 334
331;; 335;;
@@ -946,6 +950,16 @@ Commands:
946 (setq imenu-create-index-function 'tcl-imenu-create-index-function) 950 (setq imenu-create-index-function 'tcl-imenu-create-index-function)
947 (make-local-variable 'parse-sexp-ignore-comments) 951 (make-local-variable 'parse-sexp-ignore-comments)
948 952
953 ;; Settings for new dabbrev code.
954 (make-local-variable 'dabbrev-case-fold-search)
955 (setq dabbrev-case-fold-search nil)
956 (make-local-variable 'dabbrev-case-replace)
957 (setq dabbrev-case-replace nil)
958 (make-local-variable 'dabbrev-abbrev-skip-leading-regexp)
959 (setq dabbrev-abbrev-skip-leading-regexp "[$!]")
960 (make-local-variable 'dabbrev-abbrev-char-regexp)
961 (setq dabbrev-abbrev-char-regexp "\\sw\\|\\s_")
962
949 (if tcl-using-emacs-19 963 (if tcl-using-emacs-19
950 (progn 964 (progn
951 ;; This can only be set to t in Emacs 19 and XEmacs. 965 ;; This can only be set to t in Emacs 19 and XEmacs.