aboutsummaryrefslogtreecommitdiffhomepage
path: root/plastic
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2004-05-07 00:09:56 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2004-05-07 00:09:56 +0000
commit902dd5e2250891e71ae0ce9a3f4b1304366a60c3 (patch)
treea2b730572e8296f1e0b8b996c53d2814a0b619fd /plastic
parentf295d390fb43cad5caecd38786ca0bb18fb01836 (diff)
Fix for GNU Emacs
Diffstat (limited to 'plastic')
-rw-r--r--plastic/plastic.el15
1 files changed, 8 insertions, 7 deletions
diff --git a/plastic/plastic.el b/plastic/plastic.el
index c334cf53..f08e7146 100644
--- a/plastic/plastic.el
+++ b/plastic/plastic.el
@@ -660,13 +660,14 @@ We assume that module identifiers coincide with file names."
;; pcc macros etc
;; da: I've moved these key defs out of plastic-mode-config
-
-(define-key plastic-keymap ?s 'plastic-small-bar)
-(define-key plastic-keymap ?l 'plastic-large-bar)
-(define-key plastic-keymap ?c 'plastic-all-ctxt)
-(define-key plastic-keymap ?v 'plastic-minibuf)
-(define-key plastic-keymap ?o 'plastic-synchro)
-(define-key plastic-keymap ?p 'plastic-show-shell)
+;; da: PG 3.5.1: fixed for GNU Emacs compatible syntax
+
+(define-key plastic-keymap [(control s)] 'plastic-small-bar)
+(define-key plastic-keymap [(control l)] 'plastic-large-bar)
+(define-key plastic-keymap [(control c)] 'plastic-all-ctxt)
+(define-key plastic-keymap [(control v)] 'plastic-minibuf)
+(define-key plastic-keymap [(control o)] 'plastic-synchro)
+(define-key plastic-keymap [(control p)] 'plastic-show-shell)
;; original end.