[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/w32-fns.el,v
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/w32-fns.el,v |
Date: |
Sat, 09 Dec 2006 12:37:38 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Eli Zaretskii <eliz> 06/12/09 12:37:37
Index: w32-fns.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/w32-fns.el,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -b -r1.61 -r1.62
--- w32-fns.el 6 Feb 2006 14:33:35 -0000 1.61
+++ w32-fns.el 9 Dec 2006 12:37:37 -0000 1.62
@@ -469,5 +469,19 @@
(expand-file-name (pop command-line-args-left))))
(batch-update-autoloads)))
+(defun w32-append-code-lines (orig extra)
+ "Append non-empty non-comment lines in the file EXTRA to the file ORIG.
+
+This function saves all buffers and kills the Emacs session, without asking
+for any permissions.
+
+This is required because the Windows build environment is not required
+to include Sed, which is used by leim/Makefile.in to do the job."
+ (find-file orig)
+ (goto-char (point-max))
+ (insert-file-contents extra)
+ (delete-matching-lines "^$\\|^;")
+ (save-buffers-kill-emacs t))
+
;;; arch-tag: c49b48cc-0f4f-454f-a274-c2dc34815e14
;;; w32-fns.el ends here
- [Emacs-diffs] Changes to emacs/lisp/w32-fns.el,v,
Eli Zaretskii <=