summaryrefslogtreecommitdiffstats
path: root/ext/emacs
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2008-04-04 11:51:23 +1100
committerJames Turnbull <james@lovedthanlost.net>2008-04-04 11:51:23 +1100
commitbb65226e54d5e476581118e7c2c5e42275a6b290 (patch)
tree8f2bc95027bfeb2c0d20b709132798390b351cc6 /ext/emacs
parent6f1c46955a49647c14ede85304c25c7137dd9ab6 (diff)
downloadpuppet-bb65226e54d5e476581118e7c2c5e42275a6b290.tar.gz
puppet-bb65226e54d5e476581118e7c2c5e42275a6b290.tar.xz
puppet-bb65226e54d5e476581118e7c2c5e42275a6b290.zip
Additional fix to emacs for ticket #1160
Diffstat (limited to 'ext/emacs')
-rw-r--r--ext/emacs/puppet-mode.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/emacs/puppet-mode.el b/ext/emacs/puppet-mode.el
index 4a91defff..0a7ee1a5f 100644
--- a/ext/emacs/puppet-mode.el
+++ b/ext/emacs/puppet-mode.el
@@ -21,14 +21,13 @@
:type 'integer :group 'puppet)
(defvar puppet-mode-map
- "Key map used in puppet-mode buffers."
(let ((map (make-sparse-keymap)))
(define-key map "\C-j" 'newline-and-indent)
(define-key map "\C-m" 'newline-and-indent)
- map))
+ map)
+ "Key map used in puppet-mode buffers.")
-(defvar puppet-mode-syntax-table nil
- "Syntax table in use in puppet-mode buffers."
+(defvar puppet-mode-syntax-table
(let ((table (make-syntax-table)))
(modify-syntax-entry ?\' "\"" table)
(modify-syntax-entry ?\" "\"" table)
@@ -46,7 +45,8 @@
(modify-syntax-entry ?\} "){" table)
(modify-syntax-entry ?\[ "(]" table)
(modify-syntax-entry ?\] ")[" table)
- table))
+ table)
+ "Syntax table in use in puppet-mode buffers.")
(defcustom puppet-indent-tabs-mode nil
"*Indentation can insert tabs in puppet mode if this is non-nil."