diff options
| author | Juanma Barranquero | 2007-06-06 22:03:06 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-06-06 22:03:06 +0000 |
| commit | fa6bc8a66ca9b3aebd51c1fe97cf9d267757a851 (patch) | |
| tree | 69c85abf718401fcbb4ca083da0a1a404fbcca36 /lisp | |
| parent | a864048b9ed42f8b81c65e5edce57a7753a2fb0c (diff) | |
| download | emacs-fa6bc8a66ca9b3aebd51c1fe97cf9d267757a851.tar.gz emacs-fa6bc8a66ca9b3aebd51c1fe97cf9d267757a851.zip | |
(org-cycle): Fix typo in docstring.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/textmodes/org.el | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el index 8ee12638dee..f3ae0177fd0 100644 --- a/lisp/textmodes/org.el +++ b/lisp/textmodes/org.el | |||
| @@ -1931,7 +1931,7 @@ a format string understood by `format-time-string'. | |||
| 1931 | FIXME: Not used currently, because of timezone problem." | 1931 | FIXME: Not used currently, because of timezone problem." |
| 1932 | :group 'org-agenda-daily/weekly | 1932 | :group 'org-agenda-daily/weekly |
| 1933 | :type 'string) | 1933 | :type 'string) |
| 1934 | 1934 | ||
| 1935 | (defcustom org-agenda-include-diary nil | 1935 | (defcustom org-agenda-include-diary nil |
| 1936 | "If non-nil, include in the agenda entries from the Emacs Calendar's diary." | 1936 | "If non-nil, include in the agenda entries from the Emacs Calendar's diary." |
| 1937 | :group 'org-agenda-daily/weekly | 1937 | :group 'org-agenda-daily/weekly |
| @@ -2567,7 +2567,7 @@ be linked only." | |||
| 2567 | (const :tag "Always" t) | 2567 | (const :tag "Always" t) |
| 2568 | (const :tag "When there is no description" maybe))) | 2568 | (const :tag "When there is no description" maybe))) |
| 2569 | 2569 | ||
| 2570 | ;; FIXME: rename | 2570 | ;; FIXME: rename |
| 2571 | (defcustom org-export-html-expand t | 2571 | (defcustom org-export-html-expand t |
| 2572 | "Non-nil means, for HTML export, treat @<...> as HTML tag. | 2572 | "Non-nil means, for HTML export, treat @<...> as HTML tag. |
| 2573 | When nil, these tags will be exported as plain text and therefore | 2573 | When nil, these tags will be exported as plain text and therefore |
| @@ -3679,7 +3679,7 @@ that will be added to PLIST. Returns the string that was modified." | |||
| 3679 | (concat "\\(" org-bracket-link-regexp "\\)\\|\\(" | 3679 | (concat "\\(" org-bracket-link-regexp "\\)\\|\\(" |
| 3680 | org-angle-link-re "\\)\\|\\(" | 3680 | org-angle-link-re "\\)\\|\\(" |
| 3681 | org-plain-link-re "\\)") | 3681 | org-plain-link-re "\\)") |
| 3682 | "Regular expression matching any link.") | 3682 | "Regular expression matching any link.") |
| 3683 | 3683 | ||
| 3684 | (defconst org-ts-lengths | 3684 | (defconst org-ts-lengths |
| 3685 | (cons (length (format-time-string (car org-time-stamp-formats))) | 3685 | (cons (length (format-time-string (car org-time-stamp-formats))) |
| @@ -4022,8 +4022,8 @@ between words." | |||
| 4022 | `indent-relative', like TAB normally does. See the option | 4022 | `indent-relative', like TAB normally does. See the option |
| 4023 | `org-cycle-emulate-tab' for details. | 4023 | `org-cycle-emulate-tab' for details. |
| 4024 | 4024 | ||
| 4025 | - Special case: if point is the the beginning of the buffer and there is | 4025 | - Special case: if point is the beginning of the buffer and there is no |
| 4026 | no headline in line 1, this function will act as if called with prefix arg." | 4026 | headline in line 1, this function will act as if called with prefix arg." |
| 4027 | (interactive "P") | 4027 | (interactive "P") |
| 4028 | (let* ((outline-regexp | 4028 | (let* ((outline-regexp |
| 4029 | (if (and (org-mode-p) org-cycle-include-plain-lists) | 4029 | (if (and (org-mode-p) org-cycle-include-plain-lists) |
| @@ -6333,7 +6333,7 @@ is always the old value." | |||
| 6333 | 6333 | ||
| 6334 | (defun org-table-field-info (arg) | 6334 | (defun org-table-field-info (arg) |
| 6335 | "Show info about the current field, and highlight any reference at point." | 6335 | "Show info about the current field, and highlight any reference at point." |
| 6336 | (interactive "P") | 6336 | (interactive "P") |
| 6337 | (org-table-get-specials) | 6337 | (org-table-get-specials) |
| 6338 | (save-excursion | 6338 | (save-excursion |
| 6339 | (let* ((pos (point)) | 6339 | (let* ((pos (point)) |
| @@ -6573,7 +6573,7 @@ If TABLE-TYPE is non-nil, also check for table.el-type tables." | |||
| 6573 | (goto-line linepos) | 6573 | (goto-line linepos) |
| 6574 | (org-table-goto-column colpos) | 6574 | (org-table-goto-column colpos) |
| 6575 | (org-table-align) | 6575 | (org-table-align) |
| 6576 | (org-table-fix-formulas | 6576 | (org-table-fix-formulas |
| 6577 | "$" (list (cons (number-to-string col) (number-to-string colpos)) | 6577 | "$" (list (cons (number-to-string col) (number-to-string colpos)) |
| 6578 | (cons (number-to-string colpos) (number-to-string col)))))) | 6578 | (cons (number-to-string colpos) (number-to-string col)))))) |
| 6579 | 6579 | ||
| @@ -6591,7 +6591,7 @@ If TABLE-TYPE is non-nil, also check for table.el-type tables." | |||
| 6591 | (interactive "P") | 6591 | (interactive "P") |
| 6592 | (let* ((col (current-column)) | 6592 | (let* ((col (current-column)) |
| 6593 | (pos (point)) | 6593 | (pos (point)) |
| 6594 | (hline1p (save-excursion (beginning-of-line 1) | 6594 | (hline1p (save-excursion (beginning-of-line 1) |
| 6595 | (looking-at org-table-hline-regexp))) | 6595 | (looking-at org-table-hline-regexp))) |
| 6596 | (dline1 (org-table-current-dline)) | 6596 | (dline1 (org-table-current-dline)) |
| 6597 | (dline2 (+ dline1 (if up -1 1))) | 6597 | (dline2 (+ dline1 (if up -1 1))) |
| @@ -6612,7 +6612,7 @@ If TABLE-TYPE is non-nil, also check for table.el-type tables." | |||
| 6612 | (beginning-of-line 0) | 6612 | (beginning-of-line 0) |
| 6613 | (move-to-column col) | 6613 | (move-to-column col) |
| 6614 | (unless (or hline1p hline2p) | 6614 | (unless (or hline1p hline2p) |
| 6615 | (org-table-fix-formulas | 6615 | (org-table-fix-formulas |
| 6616 | "@" (list (cons (number-to-string dline1) (number-to-string dline2)) | 6616 | "@" (list (cons (number-to-string dline1) (number-to-string dline2)) |
| 6617 | (cons (number-to-string dline2) (number-to-string dline1))))))) | 6617 | (cons (number-to-string dline2) (number-to-string dline1))))))) |
| 6618 | 6618 | ||
| @@ -7252,8 +7252,8 @@ When NAMED is non-nil, look for a named equation." | |||
| 7252 | (setq strings (org-split-string (match-string 2) " *:: *")) | 7252 | (setq strings (org-split-string (match-string 2) " *:: *")) |
| 7253 | (while (setq string (pop strings)) | 7253 | (while (setq string (pop strings)) |
| 7254 | (when (string-match "\\(@[0-9]+\\$[0-9]+\\|\\$\\([a-zA-Z0-9]+\\)\\) *= *\\(.*[^ \t]\\)" string) | 7254 | (when (string-match "\\(@[0-9]+\\$[0-9]+\\|\\$\\([a-zA-Z0-9]+\\)\\) *= *\\(.*[^ \t]\\)" string) |
| 7255 | (setq scol (if (match-end 2) | 7255 | (setq scol (if (match-end 2) |
| 7256 | (match-string 2 string) | 7256 | (match-string 2 string) |
| 7257 | (match-string 1 string)) | 7257 | (match-string 1 string)) |
| 7258 | eq (match-string 3 string) | 7258 | eq (match-string 3 string) |
| 7259 | eq-alist (cons (cons scol eq) eq-alist)) | 7259 | eq-alist (cons (cons scol eq) eq-alist)) |
| @@ -7297,7 +7297,7 @@ For all numbers larger than LIMIT, shift them by DELTA." | |||
| 7297 | org-table-local-parameters nil | 7297 | org-table-local-parameters nil |
| 7298 | org-table-named-field-locations nil | 7298 | org-table-named-field-locations nil |
| 7299 | org-table-current-begin-line nil | 7299 | org-table-current-begin-line nil |
| 7300 | org-table-current-line-types nil) | 7300 | org-table-current-line-types nil) |
| 7301 | (goto-char beg) | 7301 | (goto-char beg) |
| 7302 | (when (re-search-forward "^[ \t]*| *! *\\(|.*\\)" end t) | 7302 | (when (re-search-forward "^[ \t]*| *! *\\(|.*\\)" end t) |
| 7303 | (setq names (org-split-string (match-string 1) " *| *") | 7303 | (setq names (org-split-string (match-string 1) " *| *") |
| @@ -7334,7 +7334,7 @@ For all numbers larger than LIMIT, shift them by DELTA." | |||
| 7334 | ;; Analyse the line types | 7334 | ;; Analyse the line types |
| 7335 | (goto-char beg) | 7335 | (goto-char beg) |
| 7336 | (setq org-table-current-begin-line (org-current-line) | 7336 | (setq org-table-current-begin-line (org-current-line) |
| 7337 | l org-table-current-begin-line) | 7337 | l org-table-current-begin-line) |
| 7338 | (while (looking-at "[ \t]*|\\(-\\)?") | 7338 | (while (looking-at "[ \t]*|\\(-\\)?") |
| 7339 | (push (if (match-end 1) 'hline 'dline) types) | 7339 | (push (if (match-end 1) 'hline 'dline) types) |
| 7340 | (if (match-end 1) (push l hlines) (push l dlines)) | 7340 | (if (match-end 1) (push l hlines) (push l dlines)) |
| @@ -7577,7 +7577,7 @@ not overwrite the stored one." | |||
| 7577 | ;; Insert complex ranges | 7577 | ;; Insert complex ranges |
| 7578 | (while (string-match org-table-range-regexp form) | 7578 | (while (string-match org-table-range-regexp form) |
| 7579 | (setq form | 7579 | (setq form |
| 7580 | (replace-match | 7580 | (replace-match |
| 7581 | (save-match-data | 7581 | (save-match-data |
| 7582 | (org-table-make-reference | 7582 | (org-table-make-reference |
| 7583 | (org-table-get-range (match-string 0 form) nil n0) | 7583 | (org-table-get-range (match-string 0 form) nil n0) |
| @@ -7585,7 +7585,7 @@ not overwrite the stored one." | |||
| 7585 | t t form))) | 7585 | t t form))) |
| 7586 | ;; Insert simple ranges | 7586 | ;; Insert simple ranges |
| 7587 | (while (string-match "\\$\\([0-9]+\\)\\.\\.\\$\\([0-9]+\\)" form) | 7587 | (while (string-match "\\$\\([0-9]+\\)\\.\\.\\$\\([0-9]+\\)" form) |
| 7588 | (setq form | 7588 | (setq form |
| 7589 | (replace-match | 7589 | (replace-match |
| 7590 | (save-match-data | 7590 | (save-match-data |
| 7591 | (org-table-make-reference | 7591 | (org-table-make-reference |
| @@ -7616,7 +7616,7 @@ not overwrite the stored one." | |||
| 7616 | (error "Calc does not seem to be installed, and is needed to evaluate the formula")) | 7616 | (error "Calc does not seem to be installed, and is needed to evaluate the formula")) |
| 7617 | (setq ev (calc-eval (cons form modes) | 7617 | (setq ev (calc-eval (cons form modes) |
| 7618 | (if numbers 'num)))) | 7618 | (if numbers 'num)))) |
| 7619 | 7619 | ||
| 7620 | (when org-table-formula-debug | 7620 | (when org-table-formula-debug |
| 7621 | (with-output-to-temp-buffer "*Substitution History*" | 7621 | (with-output-to-temp-buffer "*Substitution History*" |
| 7622 | (princ (format "Substitution history of formula | 7622 | (princ (format "Substitution history of formula |
| @@ -7858,7 +7858,7 @@ With prefix arg ALL, do this for all lines in the table." | |||
| 7858 | a (assoc name org-table-named-field-locations)) | 7858 | a (assoc name org-table-named-field-locations)) |
| 7859 | (and (not a) | 7859 | (and (not a) |
| 7860 | (string-match "@\\([0-9]+\\)\\$\\([0-9]+\\)" name) | 7860 | (string-match "@\\([0-9]+\\)\\$\\([0-9]+\\)" name) |
| 7861 | (setq a | 7861 | (setq a |
| 7862 | (list | 7862 | (list |
| 7863 | name | 7863 | name |
| 7864 | (aref org-table-dlines | 7864 | (aref org-table-dlines |
| @@ -7876,12 +7876,12 @@ With prefix arg ALL, do this for all lines in the table." | |||
| 7876 | (org-table-goto-column thiscol) | 7876 | (org-table-goto-column thiscol) |
| 7877 | (or noalign (and org-table-may-need-update (org-table-align)) | 7877 | (or noalign (and org-table-may-need-update (org-table-align)) |
| 7878 | (and all (message "Re-applying formulas...done")))))) | 7878 | (and all (message "Re-applying formulas...done")))))) |
| 7879 | 7879 | ||
| 7880 | (defun org-table-iterate (&optional arg) | 7880 | (defun org-table-iterate (&optional arg) |
| 7881 | "Recalculate the table until it does not change anymore." | 7881 | "Recalculate the table until it does not change anymore." |
| 7882 | (interactive "P") | 7882 | (interactive "P") |
| 7883 | (let ((imax (if arg (prefix-numeric-value arg) 10)) | 7883 | (let ((imax (if arg (prefix-numeric-value arg) 10)) |
| 7884 | (i 0) | 7884 | (i 0) |
| 7885 | (lasttbl (buffer-substring (org-table-begin) (org-table-end))) | 7885 | (lasttbl (buffer-substring (org-table-begin) (org-table-end))) |
| 7886 | thistbl) | 7886 | thistbl) |
| 7887 | (catch 'exit | 7887 | (catch 'exit |
| @@ -8238,7 +8238,7 @@ Use COMMAND to do the motion, repeat if necessary to end up in a data line." | |||
| 8238 | (org-table-edit-scroll (- N))) | 8238 | (org-table-edit-scroll (- N))) |
| 8239 | 8239 | ||
| 8240 | (defvar org-table-rectangle-overlays nil) | 8240 | (defvar org-table-rectangle-overlays nil) |
| 8241 | 8241 | ||
| 8242 | (defun org-table-add-rectangle-overlay (beg end &optional face) | 8242 | (defun org-table-add-rectangle-overlay (beg end &optional face) |
| 8243 | "Add a new overlay." | 8243 | "Add a new overlay." |
| 8244 | (let ((ov (org-make-overlay beg end))) | 8244 | (let ((ov (org-make-overlay beg end))) |
| @@ -8722,7 +8722,7 @@ this table." | |||
| 8722 | (org-table-last-column-widths | 8722 | (org-table-last-column-widths |
| 8723 | (org-remove-by-index (funcall fun org-table-last-column-widths) | 8723 | (org-remove-by-index (funcall fun org-table-last-column-widths) |
| 8724 | skipcols i0))) | 8724 | skipcols i0))) |
| 8725 | 8725 | ||
| 8726 | (unless (fboundp transform) | 8726 | (unless (fboundp transform) |
| 8727 | (error "No such transformation function %s" transform)) | 8727 | (error "No such transformation function %s" transform)) |
| 8728 | (setq txt (funcall transform table params)) | 8728 | (setq txt (funcall transform table params)) |
| @@ -8754,7 +8754,7 @@ First element has index 0, or I0 if given." | |||
| 8754 | (setq i0 (1+ i0)) | 8754 | (setq i0 (1+ i0)) |
| 8755 | (if (memq i0 indices) :rm x)) | 8755 | (if (memq i0 indices) :rm x)) |
| 8756 | list)))) | 8756 | list)))) |
| 8757 | 8757 | ||
| 8758 | (defun orgtbl-toggle-comment () | 8758 | (defun orgtbl-toggle-comment () |
| 8759 | "Comment or uncomment the orgtbl at point." | 8759 | "Comment or uncomment the orgtbl at point." |
| 8760 | (interactive) | 8760 | (interactive) |
| @@ -8850,7 +8850,7 @@ directly by `orgtbl-send-table'. See manual." | |||
| 8850 | (splicep (plist-get p :splice)) | 8850 | (splicep (plist-get p :splice)) |
| 8851 | (hline (plist-get p :hline)) | 8851 | (hline (plist-get p :hline)) |
| 8852 | rtn line i fm efm lfmt h) | 8852 | rtn line i fm efm lfmt h) |
| 8853 | 8853 | ||
| 8854 | ;; Do we have a header? | 8854 | ;; Do we have a header? |
| 8855 | (if (and (not splicep) (listp (car table)) (memq 'hline table)) | 8855 | (if (and (not splicep) (listp (car table)) (memq 'hline table)) |
| 8856 | (setq h t)) | 8856 | (setq h t)) |
| @@ -8858,7 +8858,7 @@ directly by `orgtbl-send-table'. See manual." | |||
| 8858 | ;; Put header | 8858 | ;; Put header |
| 8859 | (unless splicep | 8859 | (unless splicep |
| 8860 | (push (or (plist-get p :tstart) "ERROR: no :tstart") rtn)) | 8860 | (push (or (plist-get p :tstart) "ERROR: no :tstart") rtn)) |
| 8861 | 8861 | ||
| 8862 | ;; Now loop over all lines | 8862 | ;; Now loop over all lines |
| 8863 | (while (setq line (pop table)) | 8863 | (while (setq line (pop table)) |
| 8864 | (if (eq line 'hline) | 8864 | (if (eq line 'hline) |
| @@ -8886,10 +8886,10 @@ directly by `orgtbl-send-table'. See manual." | |||
| 8886 | (mapconcat 'identity line (org-get-param p h i :sep :hsep)) | 8886 | (mapconcat 'identity line (org-get-param p h i :sep :hsep)) |
| 8887 | (org-get-param p h i :lend :hlend)) | 8887 | (org-get-param p h i :lend :hlend)) |
| 8888 | rtn)))) | 8888 | rtn)))) |
| 8889 | 8889 | ||
| 8890 | (unless splicep | 8890 | (unless splicep |
| 8891 | (push (or (plist-get p :tend) "ERROR: no :tend") rtn)) | 8891 | (push (or (plist-get p :tend) "ERROR: no :tend") rtn)) |
| 8892 | 8892 | ||
| 8893 | (mapconcat 'identity (nreverse rtn) "\n"))) | 8893 | (mapconcat 'identity (nreverse rtn) "\n"))) |
| 8894 | 8894 | ||
| 8895 | (defun orgtbl-to-latex (table params) | 8895 | (defun orgtbl-to-latex (table params) |
| @@ -9041,7 +9041,7 @@ For file links, arg negates `org-context-in-file-links'." | |||
| 9041 | (setq cpltxt (concat "bbdb:" (or name company)) | 9041 | (setq cpltxt (concat "bbdb:" (or name company)) |
| 9042 | link (org-make-link cpltxt)) | 9042 | link (org-make-link cpltxt)) |
| 9043 | (org-store-link-props :type "bbdb" :name name :company company))) | 9043 | (org-store-link-props :type "bbdb" :name name :company company))) |
| 9044 | 9044 | ||
| 9045 | ((eq major-mode 'Info-mode) | 9045 | ((eq major-mode 'Info-mode) |
| 9046 | (setq link (org-make-link "info:" | 9046 | (setq link (org-make-link "info:" |
| 9047 | (file-name-nondirectory Info-current-file) | 9047 | (file-name-nondirectory Info-current-file) |
| @@ -9219,7 +9219,7 @@ For file links, arg negates `org-context-in-file-links'." | |||
| 9219 | (if (string-match "::\\'" cpltxt) | 9219 | (if (string-match "::\\'" cpltxt) |
| 9220 | (setq cpltxt (substring cpltxt 0 -2))) | 9220 | (setq cpltxt (substring cpltxt 0 -2))) |
| 9221 | (setq link (org-make-link cpltxt))) | 9221 | (setq link (org-make-link cpltxt))) |
| 9222 | 9222 | ||
| 9223 | (buffer-file-name | 9223 | (buffer-file-name |
| 9224 | ;; Just link to this file here. | 9224 | ;; Just link to this file here. |
| 9225 | (setq cpltxt (concat "file:" | 9225 | (setq cpltxt (concat "file:" |
| @@ -11143,7 +11143,7 @@ be removed." | |||
| 11143 | ((eq what 'deadline) org-deadline-string) | 11143 | ((eq what 'deadline) org-deadline-string) |
| 11144 | ((eq what 'closed) org-closed-string)) | 11144 | ((eq what 'closed) org-closed-string)) |
| 11145 | " ") | 11145 | " ") |
| 11146 | (org-insert-time-stamp time | 11146 | (org-insert-time-stamp time |
| 11147 | (or org-time-was-given (eq what 'closed)) | 11147 | (or org-time-was-given (eq what 'closed)) |
| 11148 | (eq what 'closed)) | 11148 | (eq what 'closed)) |
| 11149 | (end-of-line 1)) | 11149 | (end-of-line 1)) |
| @@ -11641,7 +11641,7 @@ With prefix ARG, realign all tags in headings in the current buffer." | |||
| 11641 | (setq tags "") | 11641 | (setq tags "") |
| 11642 | (unless (string-match ":$" tags) (setq tags (concat tags ":"))) | 11642 | (unless (string-match ":$" tags) (setq tags (concat tags ":"))) |
| 11643 | (unless (string-match "^:" tags) (setq tags (concat ":" tags)))) | 11643 | (unless (string-match "^:" tags) (setq tags (concat ":" tags)))) |
| 11644 | 11644 | ||
| 11645 | ;; Insert new tags at the correct column | 11645 | ;; Insert new tags at the correct column |
| 11646 | (beginning-of-line 1) | 11646 | (beginning-of-line 1) |
| 11647 | (if (re-search-forward | 11647 | (if (re-search-forward |
| @@ -13648,7 +13648,7 @@ Optional argument FILE means, use this file instead of the current." | |||
| 13648 | (add-text-properties | 13648 | (add-text-properties |
| 13649 | (match-beginning 0) (org-end-of-subtree t) pc))) | 13649 | (match-beginning 0) (org-end-of-subtree t) pc))) |
| 13650 | (set-buffer-modified-p bmp)))))) | 13650 | (set-buffer-modified-p bmp)))))) |
| 13651 | 13651 | ||
| 13652 | (defvar org-agenda-skip-function nil | 13652 | (defvar org-agenda-skip-function nil |
| 13653 | "Function to be called at each match during agenda construction. | 13653 | "Function to be called at each match during agenda construction. |
| 13654 | If this function return nil, the current match should not be skipped. | 13654 | If this function return nil, the current match should not be skipped. |
| @@ -15656,7 +15656,7 @@ the tags of the current headline come last." | |||
| 15656 | (org-up-heading-all 1)) | 15656 | (org-up-heading-all 1)) |
| 15657 | (error nil)))) | 15657 | (error nil)))) |
| 15658 | tags))) | 15658 | tags))) |
| 15659 | 15659 | ||
| 15660 | ;; FIXME: should fix the tags property of the agenda line. | 15660 | ;; FIXME: should fix the tags property of the agenda line. |
| 15661 | (defun org-agenda-set-tags () | 15661 | (defun org-agenda-set-tags () |
| 15662 | "Set tags for the current headline." | 15662 | "Set tags for the current headline." |
| @@ -16796,7 +16796,7 @@ translations. There is currently no way for users to extend this.") | |||
| 16796 | (goto-char (point-min)) | 16796 | (goto-char (point-min)) |
| 16797 | (while (re-search-forward "^#\\+HTML:[ \t]*\\(.*\\)" nil t) | 16797 | (while (re-search-forward "^#\\+HTML:[ \t]*\\(.*\\)" nil t) |
| 16798 | (replace-match "\\1" t) | 16798 | (replace-match "\\1" t) |
| 16799 | (add-text-properties | 16799 | (add-text-properties |
| 16800 | (point-at-bol) (min (1+ (point-at-eol)) (point-max)) | 16800 | (point-at-bol) (min (1+ (point-at-eol)) (point-max)) |
| 16801 | '(org-protected t)))) | 16801 | '(org-protected t)))) |
| 16802 | (goto-char (point-min)) | 16802 | (goto-char (point-min)) |
| @@ -17939,7 +17939,7 @@ lang=\"%s\" xml:lang=\"%s\"> | |||
| 17939 | (catch 'next-line | 17939 | (catch 'next-line |
| 17940 | (if (string-match "^[ \t]*|-" line) | 17940 | (if (string-match "^[ \t]*|-" line) |
| 17941 | (progn | 17941 | (progn |
| 17942 | (unless splice | 17942 | (unless splice |
| 17943 | (push (if head "</thead>" "</tbody>") html) | 17943 | (push (if head "</thead>" "</tbody>") html) |
| 17944 | (if lines (push "<tbody>" html) (setq tbopen nil))) | 17944 | (if lines (push "<tbody>" html) (setq tbopen nil))) |
| 17945 | (setq head nil) ;; head ends here, first time around | 17945 | (setq head nil) ;; head ends here, first time around |
| @@ -19472,7 +19472,7 @@ really on, so that the block visually is on the match." | |||
| 19472 | (save-excursion | 19472 | (save-excursion |
| 19473 | (beginning-of-line (- 1 (or nlines 0))) | 19473 | (beginning-of-line (- 1 (or nlines 0))) |
| 19474 | (while (re-search-forward re eol t) | 19474 | (while (re-search-forward re eol t) |
| 19475 | (if (and (<= (match-beginning 0) pos) | 19475 | (if (and (<= (match-beginning 0) pos) |
| 19476 | (>= (+ inc (match-end 0)) pos)) | 19476 | (>= (+ inc (match-end 0)) pos)) |
| 19477 | (throw 'exit (cons (match-beginning 0) (match-end 0))))))))) | 19477 | (throw 'exit (cons (match-beginning 0) (match-end 0))))))))) |
| 19478 | 19478 | ||
| @@ -19535,7 +19535,7 @@ The sequences in STRING may contain normal field width and padding information, | |||
| 19535 | for example \"%-5s\". Replacements happen in the sequence given by TABLE, | 19535 | for example \"%-5s\". Replacements happen in the sequence given by TABLE, |
| 19536 | so values can contain further %-escapes if they are define later in TABLE." | 19536 | so values can contain further %-escapes if they are define later in TABLE." |
| 19537 | (let ((case-fold-search nil) | 19537 | (let ((case-fold-search nil) |
| 19538 | e re rpl) | 19538 | e re rpl) |
| 19539 | (while (setq e (pop table)) | 19539 | (while (setq e (pop table)) |
| 19540 | (setq re (concat "%-?[0-9.]*" (substring (car e) 1))) | 19540 | (setq re (concat "%-?[0-9.]*" (substring (car e) 1))) |
| 19541 | (while (string-match re string) | 19541 | (while (string-match re string) |