[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. 546130d929ce2f82cb074e440993749e74d1f8b4

Micah Anderson micah at riseup.net
Mon Apr 14 02:30:40 UTC 2008


The following commit has been merged in the master branch:
commit 041f70b2347cb7655dadf0d30efbd2a63258bbd3
Author: James Turnbull <james at lovedthanlost.net>
Date:   Fri Apr 4 11:53:18 2008 +1100

    Additional fix for emacs syntax for ticket #1160

diff --git a/ext/emacs/puppet-mode.el b/ext/emacs/puppet-mode.el
index 4a91def..0a7ee1a 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."

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list