[Pkg-octave-commit] rev 568 - trunk/www

Rafael Laboissiere rafael at costa.debian.org
Wed Apr 12 14:07:36 UTC 2006


Author: rafael
Date: 2006-04-12 14:07:36 +0000 (Wed, 12 Apr 2006)
New Revision: 568

Modified:
   trunk/www/DOG-Guidelines.txt
Log:
Updated ELisp code for "Local Variables" section


Modified: trunk/www/DOG-Guidelines.txt
===================================================================
--- trunk/www/DOG-Guidelines.txt	2006-04-12 14:03:24 UTC (rev 567)
+++ trunk/www/DOG-Guidelines.txt	2006-04-12 14:07:36 UTC (rev 568)
@@ -48,15 +48,17 @@
 At the end of debian/changelog put the following lines::
 
     Local Variables:
-    eval: (add-hook
-      'debian-changelog-add-version-hook
-      (lambda ()
-        (save-excursion
-          (forward-line -1)
-          (beginning-of-line)
-          (insert "\n   NOT YET RELEASED!\n\n   [ "
-            (or (getenv "DEBFULLNAME") (user-full-name)) " ]")))
-      nil t)
+    eval: (progn
+      (make-local-hook 'debian-changelog-add-version-hook)
+      (add-hook
+        'debian-changelog-add-version-hook
+          (lambda ()
+          (save-excursion
+            (forward-line -1)
+            (beginning-of-line)
+            (insert "\n  NOT YET RELEASED!\n\n  [ "
+              (or (getenv "DEBFULLNAME") (user-full-name)) " ]")))
+        nil t))
     End:
 
 This is a great help when using (X)Emacs with the debian-changelog-mode and




More information about the Pkg-octave-commit mailing list