summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2008-04-04 11:53:18 +1100
committerJames Turnbull <james@lovedthanlost.net>2008-04-04 11:53:18 +1100
commit911c7fb4735e99cb5dc33ec7c2cb1deb166478b2 (patch)
tree57cf7af60626cdd61f40f3578306429b1296575d /ext
parentc13486e3a5a604152faef6f467ab6eb4f6e30acd (diff)
downloadpuppet-911c7fb4735e99cb5dc33ec7c2cb1deb166478b2.tar.gz
puppet-911c7fb4735e99cb5dc33ec7c2cb1deb166478b2.tar.xz
puppet-911c7fb4735e99cb5dc33ec7c2cb1deb166478b2.zip
Additional fix for emacs syntax for ticket #1160
Diffstat (limited to 'ext')
-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."