emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Newline in the planner id file


From: Win Treese
Subject: [emacs-wiki-discuss] Newline in the planner id file
Date: Tue, 20 Apr 2004 15:30:31 -0400

A very minor change:

If one has require-final-newline set to 'ask, then Emacs prompts for a
newline every time the planner ID file gets saved. The patch below adds
a newline to the file on every save.

Win Treese
address@hidden

--- orig/planner-id.el
+++ mod/planner-id.el
@@ -92,7 +92,7 @@
      (lambda (item)
        (insert "(\"" (car item) "\" . " (number-to-string (cdr item)) ")"))
      planner-id-values)
-    (insert ")")
+    (insert ")\n")
     (write-file planner-id-tracking-file)))
 
 (defun planner-id-make-global-id (identifier)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]