aboutsummaryrefslogtreecommitdiffstats
path: root/admin/admin.el
diff options
context:
space:
mode:
authorGlenn Morris2007-11-17 03:42:57 +0000
committerGlenn Morris2007-11-17 03:42:57 +0000
commit1453abd0cc4897e053d9c5329ea99c9e8e78c68f (patch)
tree168f65b1e6bbf3dd41f96e6f5f2b1a7afe76d724 /admin/admin.el
parentd43c8d03328f16f7b5ac27f46b60911ff483131b (diff)
downloademacs-1453abd0cc4897e053d9c5329ea99c9e8e78c68f.tar.gz
emacs-1453abd0cc4897e053d9c5329ea99c9e8e78c68f.zip
(process-lines): Move to ../lisp/subr.el.
Diffstat (limited to 'admin/admin.el')
-rw-r--r--admin/admin.el17
1 files changed, 0 insertions, 17 deletions
diff --git a/admin/admin.el b/admin/admin.el
index 76c50243b3d..a8b436171c5 100644
--- a/admin/admin.el
+++ b/admin/admin.el
@@ -29,23 +29,6 @@
29 29
30;;; Code: 30;;; Code:
31 31
32(defun process-lines (program &rest args)
33 "Execute PROGRAM with ARGS, returning its output as a list of lines.
34Signal an error if the program returns with a non-zero exit status."
35 (with-temp-buffer
36 (let ((status (apply 'call-process program nil (current-buffer) nil args)))
37 (unless (eq status 0)
38 (error "%s exited with status %s" program status))
39 (goto-char (point-min))
40 (let (lines)
41 (while (not (eobp))
42 (setq lines (cons (buffer-substring-no-properties
43 (line-beginning-position)
44 (line-end-position))
45 lines))
46 (forward-line 1))
47 (nreverse lines)))))
48
49(defun add-release-logs (root version) 32(defun add-release-logs (root version)
50 "Add \"Version VERSION released.\" change log entries in ROOT. 33 "Add \"Version VERSION released.\" change log entries in ROOT.
51Root must be the root of an Emacs source tree." 34Root must be the root of an Emacs source tree."