diff options
| author | Kyle Meyer | 2021-11-20 13:12:18 -0500 |
|---|---|---|
| committer | Kyle Meyer | 2021-11-20 13:12:18 -0500 |
| commit | 0dd3883defc04ea02d2f77d79debf4e18157500d (patch) | |
| tree | 5b5cce6254fa982056397067e40b94296fc494ae | |
| parent | e3d5337970585d1e47a4942048edf8261ad5b781 (diff) | |
| download | emacs-0dd3883defc04ea02d2f77d79debf4e18157500d.tar.gz emacs-0dd3883defc04ea02d2f77d79debf4e18157500d.zip | |
Update to Org 9.5-72-gc5d6656
| -rw-r--r-- | lisp/org/org-goto.el | 67 | ||||
| -rw-r--r-- | lisp/org/org-version.el | 2 | ||||
| -rw-r--r-- | lisp/org/ox-icalendar.el | 6 |
3 files changed, 40 insertions, 35 deletions
diff --git a/lisp/org/org-goto.el b/lisp/org/org-goto.el index 0a3470f5451..352bf9f2e52 100644 --- a/lisp/org/org-goto.el +++ b/lisp/org/org-goto.el | |||
| @@ -203,40 +203,39 @@ When nil, you can use these keybindings to navigate the buffer: | |||
| 203 | "Let the user select a location in current buffer. | 203 | "Let the user select a location in current buffer. |
| 204 | This function uses a recursive edit. It returns the selected | 204 | This function uses a recursive edit. It returns the selected |
| 205 | position or nil." | 205 | position or nil." |
| 206 | (org-no-popups | 206 | (let ((isearch-mode-map org-goto-local-auto-isearch-map) |
| 207 | (let ((isearch-mode-map org-goto-local-auto-isearch-map) | 207 | (isearch-hide-immediately nil) |
| 208 | (isearch-hide-immediately nil) | 208 | (isearch-search-fun-function |
| 209 | (isearch-search-fun-function | 209 | (lambda () #'org-goto--local-search-headings)) |
| 210 | (lambda () #'org-goto--local-search-headings)) | 210 | (help (or help org-goto-help))) |
| 211 | (help (or help org-goto-help))) | 211 | (save-excursion |
| 212 | (save-excursion | 212 | (save-window-excursion |
| 213 | (save-window-excursion | 213 | (delete-other-windows) |
| 214 | (delete-other-windows) | 214 | (and (get-buffer "*org-goto*") (kill-buffer "*org-goto*")) |
| 215 | (and (get-buffer "*org-goto*") (kill-buffer "*org-goto*")) | 215 | (pop-to-buffer-same-window |
| 216 | (pop-to-buffer-same-window | 216 | (condition-case nil |
| 217 | (condition-case nil | 217 | (make-indirect-buffer (current-buffer) "*org-goto*" t) |
| 218 | (make-indirect-buffer (current-buffer) "*org-goto*" t) | 218 | (error (make-indirect-buffer (current-buffer) "*org-goto*" t)))) |
| 219 | (error (make-indirect-buffer (current-buffer) "*org-goto*" t)))) | 219 | (let (temp-buffer-show-function temp-buffer-show-hook) |
| 220 | (let (temp-buffer-show-function temp-buffer-show-hook) | 220 | (with-output-to-temp-buffer "*Org Help*" |
| 221 | (with-output-to-temp-buffer "*Org Help*" | 221 | (princ (format help (if org-goto-auto-isearch |
| 222 | (princ (format help (if org-goto-auto-isearch | 222 | " Just type for auto-isearch." |
| 223 | " Just type for auto-isearch." | 223 | " n/p/f/b/u to navigate, q to quit."))))) |
| 224 | " n/p/f/b/u to navigate, q to quit."))))) | 224 | (org-fit-window-to-buffer (get-buffer-window "*Org Help*")) |
| 225 | (org-fit-window-to-buffer (get-buffer-window "*Org Help*")) | 225 | (org-overview) |
| 226 | (org-overview) | 226 | (setq buffer-read-only t) |
| 227 | (setq buffer-read-only t) | 227 | (if (and (boundp 'org-goto-start-pos) |
| 228 | (if (and (boundp 'org-goto-start-pos) | 228 | (integer-or-marker-p org-goto-start-pos)) |
| 229 | (integer-or-marker-p org-goto-start-pos)) | 229 | (progn (goto-char org-goto-start-pos) |
| 230 | (progn (goto-char org-goto-start-pos) | 230 | (when (org-invisible-p) |
| 231 | (when (org-invisible-p) | 231 | (org-show-set-visibility 'lineage))) |
| 232 | (org-show-set-visibility 'lineage))) | 232 | (goto-char (point-min))) |
| 233 | (goto-char (point-min))) | 233 | (let (org-special-ctrl-a/e) (org-beginning-of-line)) |
| 234 | (let (org-special-ctrl-a/e) (org-beginning-of-line)) | 234 | (message "Select location and press RET") |
| 235 | (message "Select location and press RET") | 235 | (use-local-map org-goto-map) |
| 236 | (use-local-map org-goto-map) | 236 | (recursive-edit))) |
| 237 | (recursive-edit))) | 237 | (kill-buffer "*org-goto*") |
| 238 | (kill-buffer "*org-goto*") | 238 | (cons org-goto-selected-point org-goto-exit-command))) |
| 239 | (cons org-goto-selected-point org-goto-exit-command)))) | ||
| 240 | 239 | ||
| 241 | ;;;###autoload | 240 | ;;;###autoload |
| 242 | (defun org-goto (&optional alternative-interface) | 241 | (defun org-goto (&optional alternative-interface) |
diff --git a/lisp/org/org-version.el b/lisp/org/org-version.el index 6427f30072e..77b1cf4e5ff 100644 --- a/lisp/org/org-version.el +++ b/lisp/org/org-version.el | |||
| @@ -11,7 +11,7 @@ Inserted by installing Org mode or when a release is made." | |||
| 11 | (defun org-git-version () | 11 | (defun org-git-version () |
| 12 | "The Git version of Org mode. | 12 | "The Git version of Org mode. |
| 13 | Inserted by installing Org or when a release is made." | 13 | Inserted by installing Org or when a release is made." |
| 14 | (let ((org-git-version "release_9.5-68-g77e2ec")) | 14 | (let ((org-git-version "release_9.5-72-gc5d6656")) |
| 15 | org-git-version)) | 15 | org-git-version)) |
| 16 | 16 | ||
| 17 | (provide 'org-version) | 17 | (provide 'org-version) |
diff --git a/lisp/org/ox-icalendar.el b/lisp/org/ox-icalendar.el index 9170059156d..081a28317f6 100644 --- a/lisp/org/ox-icalendar.el +++ b/lisp/org/ox-icalendar.el | |||
| @@ -280,6 +280,7 @@ re-read the iCalendar file.") | |||
| 280 | (footnote-definition . ignore) | 280 | (footnote-definition . ignore) |
| 281 | (footnote-reference . ignore) | 281 | (footnote-reference . ignore) |
| 282 | (headline . org-icalendar-entry) | 282 | (headline . org-icalendar-entry) |
| 283 | (inner-template . org-icalendar-inner-template) | ||
| 283 | (inlinetask . ignore) | 284 | (inlinetask . ignore) |
| 284 | (planning . ignore) | 285 | (planning . ignore) |
| 285 | (section . ignore) | 286 | (section . ignore) |
| @@ -805,6 +806,11 @@ END:VALARM\n" | |||
| 805 | 806 | ||
| 806 | ;;;; Template | 807 | ;;;; Template |
| 807 | 808 | ||
| 809 | (defun org-icalendar-inner-template (contents _) | ||
| 810 | "Return document body string after iCalendar conversion. | ||
| 811 | CONTENTS is the transcoded contents string." | ||
| 812 | contents) | ||
| 813 | |||
| 808 | (defun org-icalendar-template (contents info) | 814 | (defun org-icalendar-template (contents info) |
| 809 | "Return complete document string after iCalendar conversion. | 815 | "Return complete document string after iCalendar conversion. |
| 810 | CONTENTS is the transcoded contents string. INFO is a plist used | 816 | CONTENTS is the transcoded contents string. INFO is a plist used |