aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorStefan Monnier2013-03-16 18:08:22 -0400
committerStefan Monnier2013-03-16 18:08:22 -0400
commit78be8b64657aeca0472d708450ea1ce2bc142606 (patch)
treedccbdc45e747a47b44be92abab79cca15a30111f /admin
parent6615748ac6bcff258ef548f70bdcc1ab9f740472 (diff)
parent67ed8fcd04edeff2d4931acf476e7067c5ceeef2 (diff)
downloademacs-78be8b64657aeca0472d708450ea1ce2bc142606.tar.gz
emacs-78be8b64657aeca0472d708450ea1ce2bc142606.zip
Merge from emacs-24
Diffstat (limited to 'admin')
-rw-r--r--admin/ChangeLog8
-rw-r--r--admin/admin.el16
-rw-r--r--admin/bzrmerge.el8
3 files changed, 26 insertions, 6 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog
index fcc339c17cd..25ce7c0f9e4 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,11 @@
12013-03-16 Glenn Morris <rgm@gnu.org>
2
3 * admin.el (manual-pdf, manual-dvi): Pass -I to texi2pdf, texi2dvi.
4
52013-03-16 Glenn Morris <rgm@gnu.org>
6
7 * admin.el (manual-html-mono, manual-html-node): Add -DWWW_GNU_ORG.
8
12013-03-13 Paul Eggert <eggert@cs.ucla.edu> 92013-03-13 Paul Eggert <eggert@cs.ucla.edu>
2 10
3 File synchronization fixes (Bug#13944). 11 File synchronization fixes (Bug#13944).
diff --git a/admin/admin.el b/admin/admin.el
index 8b6bb472b7d..cb7eaead27f 100644
--- a/admin/admin.el
+++ b/admin/admin.el
@@ -285,6 +285,7 @@ This function also edits the HTML files so that they validate as
285HTML 4.01 Transitional, and pulls in the gnu.org stylesheet using 285HTML 4.01 Transitional, and pulls in the gnu.org stylesheet using
286the @import directive." 286the @import directive."
287 (call-process "makeinfo" nil nil nil 287 (call-process "makeinfo" nil nil nil
288 "-D" "WWW_GNU_ORG"
288 "-I" (expand-file-name "../emacs" 289 "-I" (expand-file-name "../emacs"
289 (file-name-directory texi-file)) 290 (file-name-directory texi-file))
290 "-I" (expand-file-name "../misc" 291 "-I" (expand-file-name "../misc"
@@ -310,6 +311,7 @@ the @import directive."
310 (unless (file-exists-p texi-file) 311 (unless (file-exists-p texi-file)
311 (error "Manual file %s not found" texi-file)) 312 (error "Manual file %s not found" texi-file))
312 (call-process "makeinfo" nil nil nil 313 (call-process "makeinfo" nil nil nil
314 "-D" "WWW_GNU_ORG"
313 "-I" (expand-file-name "../emacs" 315 "-I" (expand-file-name "../emacs"
314 (file-name-directory texi-file)) 316 (file-name-directory texi-file))
315 "-I" (expand-file-name "../misc" 317 "-I" (expand-file-name "../misc"
@@ -354,12 +356,22 @@ the @import directive."
354 356
355(defun manual-pdf (texi-file dest) 357(defun manual-pdf (texi-file dest)
356 "Run texi2pdf on TEXI-FILE, emitting plaintext output to DEST." 358 "Run texi2pdf on TEXI-FILE, emitting plaintext output to DEST."
357 (call-process "texi2pdf" nil nil nil texi-file "-o" dest)) 359 (call-process "texi2pdf" nil nil nil
360 "-I" (expand-file-name "../emacs"
361 (file-name-directory texi-file))
362 "-I" (expand-file-name "../misc"
363 (file-name-directory texi-file))
364 texi-file "-o" dest))
358 365
359(defun manual-dvi (texi-file dest ps-dest) 366(defun manual-dvi (texi-file dest ps-dest)
360 "Run texi2dvi on TEXI-FILE, emitting dvi output to DEST. 367 "Run texi2dvi on TEXI-FILE, emitting dvi output to DEST.
361Also generate PostScript output in PS-DEST." 368Also generate PostScript output in PS-DEST."
362 (call-process "texi2dvi" nil nil nil texi-file "-o" dest) 369 (call-process "texi2dvi" nil nil nil
370 "-I" (expand-file-name "../emacs"
371 (file-name-directory texi-file))
372 "-I" (expand-file-name "../misc"
373 (file-name-directory texi-file))
374 texi-file "-o" dest)
363 (call-process "dvips" nil nil nil dest "-o" ps-dest) 375 (call-process "dvips" nil nil nil dest "-o" ps-dest)
364 (call-process "gzip" nil nil nil dest) 376 (call-process "gzip" nil nil nil dest)
365 (call-process "gzip" nil nil nil ps-dest)) 377 (call-process "gzip" nil nil nil ps-dest))
diff --git a/admin/bzrmerge.el b/admin/bzrmerge.el
index 4fa328b9d6d..42d39d3071a 100644
--- a/admin/bzrmerge.el
+++ b/admin/bzrmerge.el
@@ -50,7 +50,7 @@ The list returned is sorted by oldest-first."
50 (call-process "bzr" nil t nil "status" "-v") 50 (call-process "bzr" nil t nil "status" "-v")
51 (goto-char (point-min)) 51 (goto-char (point-min))
52 (when (re-search-forward "^conflicts:\n" nil t) 52 (when (re-search-forward "^conflicts:\n" nil t)
53 (error "You still have unresolved conflicts")) 53 (user-error "You still have unresolved conflicts"))
54 (let ((merges ()) 54 (let ((merges ())
55 found) 55 found)
56 (if (not (re-search-forward "^pending merges:\n" nil t)) 56 (if (not (re-search-forward "^pending merges:\n" nil t))
@@ -62,7 +62,7 @@ The list returned is sorted by oldest-first."
62 (setq found 62 (setq found
63 (not (equal "unknown" (match-string 1))))))) 63 (not (equal "unknown" (match-string 1)))))))
64 found) 64 found)
65 (error "You still have uncommitted changes")) 65 (user-error "You still have uncommitted changes"))
66 ;; This is really stupid, but it seems there's no easy way to figure 66 ;; This is really stupid, but it seems there's no easy way to figure
67 ;; out which revisions have been merged already. The only info I can 67 ;; out which revisions have been merged already. The only info I can
68 ;; find is the "pending merges" from "bzr status -v", which is not 68 ;; find is the "pending merges" from "bzr status -v", which is not
@@ -171,7 +171,7 @@ Type `y' to skip this revision,
171 (enable-local-eval nil)) 171 (enable-local-eval nil))
172 (find-file-noselect file)) 172 (find-file-noselect file))
173 (if (buffer-modified-p) 173 (if (buffer-modified-p)
174 (error "Unsaved changes in %s" (current-buffer))) 174 (user-error "Unsaved changes in %s" (current-buffer)))
175 (save-excursion 175 (save-excursion
176 (cond 176 (cond
177 ((derived-mode-p 'change-log-mode) 177 ((derived-mode-p 'change-log-mode)
@@ -323,7 +323,7 @@ Does not make other difference."
323BEWARE! Important metadata is kept in this Emacs session! 323BEWARE! Important metadata is kept in this Emacs session!
324Do not commit without re-running `M-x bzrmerge' first!" 324Do not commit without re-running `M-x bzrmerge' first!"
325 :warning bzrmerge-warning-buffer)) 325 :warning bzrmerge-warning-buffer))
326 (error "Resolve conflicts manually"))))) 326 (user-error "Resolve conflicts manually")))))
327 (cons merge skip))))) 327 (cons merge skip)))))
328 328
329(defun bzrmerge (from) 329(defun bzrmerge (from)