summaryrefslogtreecommitdiff
path: root/admin/admin.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-11-17 03:42:57 +0000
committerGlenn Morris <rgm@gnu.org>2007-11-17 03:42:57 +0000
commit1453abd0cc4897e053d9c5329ea99c9e8e78c68f (patch)
tree168f65b1e6bbf3dd41f96e6f5f2b1a7afe76d724 /admin/admin.el
parentd43c8d03328f16f7b5ac27f46b60911ff483131b (diff)
downloademacs-1453abd0cc4897e053d9c5329ea99c9e8e78c68f.tar.gz
(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 @@
;;; Code:
-(defun process-lines (program &rest args)
- "Execute PROGRAM with ARGS, returning its output as a list of lines.
-Signal an error if the program returns with a non-zero exit status."
- (with-temp-buffer
- (let ((status (apply 'call-process program nil (current-buffer) nil args)))
- (unless (eq status 0)
- (error "%s exited with status %s" program status))
- (goto-char (point-min))
- (let (lines)
- (while (not (eobp))
- (setq lines (cons (buffer-substring-no-properties
- (line-beginning-position)
- (line-end-position))
- lines))
- (forward-line 1))
- (nreverse lines)))))
-
(defun add-release-logs (root version)
"Add \"Version VERSION released.\" change log entries in ROOT.
Root must be the root of an Emacs source tree."