aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorDeepak Goel2007-12-06 17:25:03 +0000
committerDeepak Goel2007-12-06 17:25:03 +0000
commit864da779a612cc75366bee12ab5f6f2859231f18 (patch)
treefb02d6c4ca832cf8f1eb0bca8270fdade8fe1d2e /lisp/textmodes
parent23f3a1407c9af51d95ee3d6f885be5ae11cf0f35 (diff)
downloademacs-864da779a612cc75366bee12ab5f6f2859231f18.tar.gz
emacs-864da779a612cc75366bee12ab5f6f2859231f18.zip
Resolve cvs commit conflict. (Fix buggy calls to error.)
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/org-publish.el4
-rw-r--r--lisp/textmodes/reftex-parse.el2
-rw-r--r--lisp/textmodes/texinfmt.el5
3 files changed, 5 insertions, 6 deletions
diff --git a/lisp/textmodes/org-publish.el b/lisp/textmodes/org-publish.el
index e98afaf4a6b..807a844c425 100644
--- a/lisp/textmodes/org-publish.el
+++ b/lisp/textmodes/org-publish.el
@@ -481,7 +481,7 @@ FILENAME is the filename of the file to be published."
481 (plist (org-publish-get-plist-from-filename filename)) 481 (plist (org-publish-get-plist-from-filename filename))
482 (publishing-function (or (plist-get plist :publishing-function) 'org-publish-org-to-html))) 482 (publishing-function (or (plist-get plist :publishing-function) 'org-publish-org-to-html)))
483 (if (not project-name) 483 (if (not project-name)
484 (error (format "File %s is not part of any known project." filename))) 484 (error "File %s is not part of any known project." filename))
485 (when (org-publish-needed-p filename) 485 (when (org-publish-needed-p filename)
486 (if (listp publishing-function) 486 (if (listp publishing-function)
487 ;; allow chain of publishing functions 487 ;; allow chain of publishing functions
@@ -575,7 +575,7 @@ With prefix argument, force publishing all files in project."
575 (let* ((project-name (org-publish-get-project-from-filename (buffer-file-name))) 575 (let* ((project-name (org-publish-get-project-from-filename (buffer-file-name)))
576 (org-publish-use-timestamps-flag (if force nil t))) 576 (org-publish-use-timestamps-flag (if force nil t)))
577 (if (not project-name) 577 (if (not project-name)
578 (error (format "File %s is not part of any known project." (buffer-file-name)))) 578 (error "File %s is not part of any known project." (buffer-file-name)))
579 (org-publish project-name)))) 579 (org-publish project-name))))
580 580
581 581
diff --git a/lisp/textmodes/reftex-parse.el b/lisp/textmodes/reftex-parse.el
index b6b85b8f7d3..c6c4b33d053 100644
--- a/lisp/textmodes/reftex-parse.el
+++ b/lisp/textmodes/reftex-parse.el
@@ -544,7 +544,7 @@ of master file."
544 (save-excursion 544 (save-excursion
545 (condition-case error-var 545 (condition-case error-var
546 (funcall parse env) 546 (funcall parse env)
547 (error (format "HOOK ERROR: %s" (cdr error-var)))))) 547 (error "HOOK ERROR: %s" (cdr error-var)))))
548 (t 548 (t
549 "INVALID VALUE OF PARSE")))) 549 "INVALID VALUE OF PARSE"))))
550 550
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el
index 55e7134f87e..812fcca06d6 100644
--- a/lisp/textmodes/texinfmt.el
+++ b/lisp/textmodes/texinfmt.el
@@ -2061,9 +2061,8 @@ commands that are defined in texinfo.tex for printed output.
2061 (apply '+ texinfo-multitable-width-list)))) 2061 (apply '+ texinfo-multitable-width-list))))
2062 (if (> desired-columns fill-column) 2062 (if (> desired-columns fill-column)
2063 (error 2063 (error
2064 (format 2064 "Multi-column table width, %d chars, is greater than page width, %d chars."
2065 "Multi-column table width, %d chars, is greater than page width, %d chars." 2065 desired-columns fill-column)))
2066 desired-columns fill-column))))
2067 texinfo-multitable-width-list)) 2066 texinfo-multitable-width-list))
2068 2067
2069;; @item A1 @tab A2 @tab A3 2068;; @item A1 @tab A2 @tab A3