[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals-release/org 14fb761 22/22: Do not use mark-whole-buffer
From: |
ELPA Syncer |
Subject: |
[elpa] externals-release/org 14fb761 22/22: Do not use mark-whole-buffer noninteractively |
Date: |
Mon, 27 Sep 2021 15:57:36 -0400 (EDT) |
branch: externals-release/org
commit 14fb761d78bcc8ee5f58ec5e06279bf6dd8f10d5
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>
Do not use mark-whole-buffer noninteractively
* lisp/org.el (org-fill-element): `mark-whole-buffer' introduced in
7b85a64da is only for interactive use and causes compiler warning.
Replace it using noninteractive commands.
---
lisp/org.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/org.el b/lisp/org.el
index d063fa6..cfa5f6c 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -19365,7 +19365,9 @@ a footnote definition, try to fill the first paragraph
within."
(cl-case (org-element-type element)
;; Use major mode filling function is source blocks.
(src-block (org-babel-do-in-edit-buffer
- (mark-whole-buffer)
+ (push-mark (point-min))
+ (goto-char (point-max))
+ (setq mark-active t)
(funcall-interactively #'fill-paragraph justify 'region)))
;; Align Org tables, leave table.el tables as-is.
(table-row (org-table-align) t)
- [elpa] externals-release/org bf22d98 10/22: CONTRIBUTE: Update to follow the new structure of doc/, (continued)
- [elpa] externals-release/org bf22d98 10/22: CONTRIBUTE: Update to follow the new structure of doc/, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org 413060b 05/22: CONTRIBUTE: Fix merge leftover, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org 399481b 09/22: Do not ignore user-defined display-buffer-alist in org-insert-link, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org 3f5605e 06/22: org-agenda.el: Avoid dependency on subr-x, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org 05ee1e6 18/22: Do not rely on M-q binding for filling src-block, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org ec7c16a 08/22: ox-latex: Allow percent sign in 'src-block' caption, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org 6a2c487 07/22: Avoid infinite loop in org-agenda-dim-blocked-tasks, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org 97de19f 12/22: Fix not updating org-clock-marker after refiling from indirect buffer, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org d8b9bd0 11/22: Fix byte-comp function warnings, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org 6a558fc 19/22: org: Fix potential modified src match-data issue, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org 14fb761 22/22: Do not use mark-whole-buffer noninteractively,
ELPA Syncer <=
- [elpa] externals-release/org bea172a 02/22: mk/default.mk: Use the Emacs manual css, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org a33ad98 04/22: CONTRIBUTE: Fix link for cloning as a contributor, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org 4a11766 03/22: docs: Update outdated code.orgmode.org links, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org e23815b 13/22: Correctly handle org-log-note-clock-out non-interactively, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org aea7cab 14/22: Fix duplicate logbook entry for repeated tasks, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org dbbb93d 15/22: lisp/org-table.el: Fix positioning of "#+TBLFM:, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org f7d6db1 16/22: org-bibtex-read: Do not add nil when there is no entry at point, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org 0b4e357 17/22: Avoid creating ID property during tangling, ELPA Syncer, 2021/09/27
- [elpa] externals-release/org 529a1bd 20/22: doc/org-manual.org: Reintroduce lost footnote definition., ELPA Syncer, 2021/09/27
- [elpa] externals-release/org d13556e 21/22: lisp/org.el (org-return): Enable `delete-selection', ELPA Syncer, 2021/09/27