diff options
| author | Glenn Morris | 2008-08-10 01:27:58 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-08-10 01:27:58 +0000 |
| commit | 5c94b31cbcebc400e64b14b7b60666d5995780e4 (patch) | |
| tree | e928d055b0ff0acdfe7a2bd31caec39a49328ec0 | |
| parent | 3281cf1113b9d1f2a724707bdcb5201dea3bad47 (diff) | |
| download | emacs-5c94b31cbcebc400e64b14b7b60666d5995780e4.tar.gz emacs-5c94b31cbcebc400e64b14b7b60666d5995780e4.zip | |
(org-export-as-html): Let-bind `i'.
| -rw-r--r-- | lisp/org/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/org/org-exp.el | 12 |
2 files changed, 14 insertions, 6 deletions
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog index f95df7f7bfb..95601912fe5 100644 --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2008-08-10 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * org-exp.el (org-export-as-html): Let-bind `i'. | ||
| 4 | |||
| 5 | * org.el (org-renumber-ordered-list): Fix bob/bobp typo. | ||
| 6 | (org-extract-attributes): Let-bind `key', `value'. | ||
| 7 | (org-make-tags-matcher): Let-bind `time-p'. | ||
| 8 | |||
| 1 | 2008-07-27 Carsten Dominik <dominik@science.uva.nl> | 9 | 2008-07-27 Carsten Dominik <dominik@science.uva.nl> |
| 2 | 10 | ||
| 3 | * org-install.el: New file. | 11 | * org-install.el: New file. |
diff --git a/lisp/org/org-exp.el b/lisp/org/org-exp.el index a1baadc884c..bfdeb1271e8 100644 --- a/lisp/org/org-exp.el +++ b/lisp/org/org-exp.el | |||
| @@ -2993,12 +2993,12 @@ lang=\"%s\" xml:lang=\"%s\"> | |||
| 2993 | (setq inverse nil) | 2993 | (setq inverse nil) |
| 2994 | (throw 'nextline nil)) | 2994 | (throw 'nextline nil)) |
| 2995 | (when inverse | 2995 | (when inverse |
| 2996 | (setq i (org-get-string-indentation line)) | 2996 | (let ((i (org-get-string-indentation line))) |
| 2997 | (if (> i 0) | 2997 | (if (> i 0) |
| 2998 | (setq line (concat (mapconcat 'identity | 2998 | (setq line (concat (mapconcat 'identity |
| 2999 | (make-list (* 2 i) "\\nbsp") "") | 2999 | (make-list (* 2 i) "\\nbsp") "") |
| 3000 | " " (org-trim line)))) | 3000 | " " (org-trim line)))) |
| 3001 | (setq line (concat line " \\\\"))) | 3001 | (setq line (concat line " \\\\")))) |
| 3002 | 3002 | ||
| 3003 | ;; make targets to anchors | 3003 | ;; make targets to anchors |
| 3004 | (while (string-match "<<<?\\([^<>]*\\)>>>?\\((INVISIBLE)\\)?[ \t]*\n?" line) | 3004 | (while (string-match "<<<?\\([^<>]*\\)>>>?\\((INVISIBLE)\\)?[ \t]*\n?" line) |