Fix some small bugs.

This commit is contained in:
Carsten Dominik 2008-12-19 18:36:53 +01:00
parent dadc9a1af1
commit 9011bd9303
3 changed files with 5 additions and 2 deletions

View File

@ -183,7 +183,7 @@ passed to the ditaa utility as command line arguments."
(error (format "Could not find ditaa.jar at %s" org-ditaa-jar-path))) (error (format "Could not find ditaa.jar at %s" org-ditaa-jar-path)))
(setq body (if (string-match "^\\([^:\\|:[^ ]\\)" body) (setq body (if (string-match "^\\([^:\\|:[^ ]\\)" body)
body body
(mapconcat (lambda (x) (substring x (> (length x) 1) 2 1)) (mapconcat (lambda (x) (substring x (if (> (length x) 1) 2 1)))
(org-split-string body "\n") (org-split-string body "\n")
"\n"))) "\n")))
(cond (cond

View File

@ -1,5 +1,8 @@
2008-12-19 Carsten Dominik <carsten.dominik@gmail.com> 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
* org-export-latex.el (org-export-latex-links): Fix bug with
undefined label.
* org-table.el (org-table-get-specials): Set * org-table.el (org-table-get-specials): Set
`org-table-current-last-data-line'. `org-table-current-last-data-line'.
(org-table-current-last-data-line): New variable. (org-table-current-last-data-line): New variable.

View File

@ -1207,7 +1207,7 @@ If TIMESTAMPS, convert timestamps, otherwise delete them."
(expand-file-name raw-path)) (expand-file-name raw-path))
(if floatp (if floatp
(format "\\caption{%s%s}\n" (format "\\caption{%s%s}\n"
(if label (concat "\\label{" label "}")) (if label (concat "\\label{" label "}") "")
(or caption ""))) (or caption "")))
(if floatp "\\end{figure}\n")))) (if floatp "\\end{figure}\n"))))
(radiop (insert (format "\\hyperref[%s]{%s}" (radiop (insert (format "\\hyperref[%s]{%s}"