Resolve cvs commit conflict. (Fix buggy calls to error.)

This commit is contained in:
Deepak Goel 2007-12-06 17:25:03 +00:00
parent 23f3a1407c
commit 864da779a6
4 changed files with 18 additions and 6 deletions

View file

@ -481,7 +481,7 @@ FILENAME is the filename of the file to be published."
(plist (org-publish-get-plist-from-filename filename))
(publishing-function (or (plist-get plist :publishing-function) 'org-publish-org-to-html)))
(if (not project-name)
(error (format "File %s is not part of any known project." filename)))
(error "File %s is not part of any known project." filename))
(when (org-publish-needed-p filename)
(if (listp publishing-function)
;; allow chain of publishing functions
@ -575,7 +575,7 @@ With prefix argument, force publishing all files in project."
(let* ((project-name (org-publish-get-project-from-filename (buffer-file-name)))
(org-publish-use-timestamps-flag (if force nil t)))
(if (not project-name)
(error (format "File %s is not part of any known project." (buffer-file-name))))
(error "File %s is not part of any known project." (buffer-file-name)))
(org-publish project-name))))

View file

@ -544,7 +544,7 @@ of master file."
(save-excursion
(condition-case error-var
(funcall parse env)
(error (format "HOOK ERROR: %s" (cdr error-var))))))
(error "HOOK ERROR: %s" (cdr error-var)))))
(t
"INVALID VALUE OF PARSE"))))

View file

@ -2061,9 +2061,8 @@ commands that are defined in texinfo.tex for printed output.
(apply '+ texinfo-multitable-width-list))))
(if (> desired-columns fill-column)
(error
(format
"Multi-column table width, %d chars, is greater than page width, %d chars."
desired-columns fill-column))))
"Multi-column table width, %d chars, is greater than page width, %d chars."
desired-columns fill-column)))
texinfo-multitable-width-list))
;; @item A1 @tab A2 @tab A3