diff options
| author | Deepak Goel <deego@gnufans.org> | 2007-12-06 17:25:03 +0000 |
|---|---|---|
| committer | Deepak Goel <deego@gnufans.org> | 2007-12-06 17:25:03 +0000 |
| commit | 864da779a612cc75366bee12ab5f6f2859231f18 (patch) | |
| tree | fb02d6c4ca832cf8f1eb0bca8270fdade8fe1d2e /lisp/textmodes | |
| parent | 23f3a1407c9af51d95ee3d6f885be5ae11cf0f35 (diff) | |
| download | emacs-864da779a612cc75366bee12ab5f6f2859231f18.tar.gz | |
Resolve cvs commit conflict. (Fix buggy calls to error.)
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/org-publish.el | 4 | ||||
| -rw-r--r-- | lisp/textmodes/reftex-parse.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/texinfmt.el | 5 |
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." (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)))) 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." (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")))) 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. (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 |
