[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 631d4eb6af 40/50: org-macs: Move org-current-text-i
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 631d4eb6af 40/50: org-macs: Move org-current-text-indentation to silence byte-compiler |
Date: |
Tue, 4 Oct 2022 21:58:01 -0400 (EDT) |
branch: externals/org
commit 631d4eb6af69ffdaba39fbcce3a870bbb43ddea1
Author: Kyle Meyer <kyle@kyleam.com>
Commit: Kyle Meyer <kyle@kyleam.com>
org-macs: Move org-current-text-indentation to silence byte-compiler
Move org-current-text-indentation upstream of first use to avoid 'make
single' (and the Emacs repo) reporting
org-macs.el:1106:11: Warning: macro ‘org-current-text-indentation’
defined too
late
---
lisp/org-macs.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lisp/org-macs.el b/lisp/org-macs.el
index 74952aef3a..121effdbf8 100644
--- a/lisp/org-macs.el
+++ b/lisp/org-macs.el
@@ -386,6 +386,11 @@ it for output."
;;; Indentation
+(defmacro org-current-text-indentation ()
+ "Like `current-indentation', but ignore display/invisible properties."
+ `(let ((buffer-invisibility-spec nil))
+ (current-indentation)))
+
(defun org-do-remove-indentation (&optional n skip-fl)
"Remove the maximum common indentation from the buffer.
When optional argument N is a positive integer, remove exactly
@@ -1101,11 +1106,6 @@ Return width in pixels when PIXELS is non-nil."
`(string-width (buffer-substring-no-properties
(line-beginning-position) (point))))
-(defmacro org-current-text-indentation ()
- "Like `current-indentation', but ignore display/invisible properties."
- `(let ((buffer-invisibility-spec nil))
- (current-indentation)))
-
(defun org-not-nil (v)
"If V not nil, and also not the string \"nil\", then return V.
Otherwise return nil."
- [elpa] externals/org 98e168b489 46/50: compat: Add compatibility wrapper for string-clean-whitespace, (continued)
- [elpa] externals/org 98e168b489 46/50: compat: Add compatibility wrapper for string-clean-whitespace, ELPA Syncer, 2022/10/04
- [elpa] externals/org 75d63533d3 47/50: compat: Move string-equal-ignore-case to correct section, ELPA Syncer, 2022/10/04
- [elpa] externals/org 95a4c59bfe 49/50: compat: Add compatibility wrapper for format-prompt, ELPA Syncer, 2022/10/04
- [elpa] externals/org 4ae72c6174 19/50: Backport commit 0f7ceb480 from Emacs, ELPA Syncer, 2022/10/04
- [elpa] externals/org 0da6c49f75 21/50: Backport commit 4f37a3b29 from Emacs, ELPA Syncer, 2022/10/04
- [elpa] externals/org 07ca33e603 25/50: Backport commit 2a05479c2 from Emacs, ELPA Syncer, 2022/10/04
- [elpa] externals/org e7059f7dbe 28/50: Backport commit 22a5f0223 from Emacs, ELPA Syncer, 2022/10/04
- [elpa] externals/org e9df837d8a 30/50: Backport commit 0a6e2b3bf from Emacs, ELPA Syncer, 2022/10/04
- [elpa] externals/org 883f87c3e7 32/50: Backport commit 4d64c39fa from Emacs, ELPA Syncer, 2022/10/04
- [elpa] externals/org 2ac8c44f04 33/50: Backport commit b335e1a04 from Emacs, ELPA Syncer, 2022/10/04
- [elpa] externals/org 631d4eb6af 40/50: org-macs: Move org-current-text-indentation to silence byte-compiler,
ELPA Syncer <=
- [elpa] externals/org 07c5d066aa 17/50: Backport commit 3236dedc2 from Emacs, ELPA Syncer, 2022/10/04
- [elpa] externals/org 9b62bcc9c6 39/50: Backport commit 8dacd8cd9 from Emacs, ELPA Syncer, 2022/10/04
- [elpa] externals/org 0e0fe76ae4 45/50: ox-icalendar: Fix time zone construct from recently ported commit, ELPA Syncer, 2022/10/04
- [elpa] externals/org 07b6a0e044 48/50: compat: Use org- wrapper for string-equal-ignore-case compatibility, ELPA Syncer, 2022/10/04
- [elpa] externals/org 1adbaca75a 26/50: Backport commit 563bf2fae from Emacs, ELPA Syncer, 2022/10/04
- [elpa] externals/org aeb934b598 41/50: Merge branch 'km/from-emacs-28', ELPA Syncer, 2022/10/04
- [elpa] externals/org abc34b458f 43/50: org-mouse: Make recently ported change compatible with Emacs < 29, ELPA Syncer, 2022/10/04
- [elpa] externals/org 1f8cc85542 50/50: org-agenda: Replace 29.1 version keywords with package-version, ELPA Syncer, 2022/10/04
- [elpa] externals/org 42c418693f 42/50: Merge branch 'km/from-emacs-master', ELPA Syncer, 2022/10/04
- [elpa] externals/org 8ac9203d5c 20/50: Backport commit 979308b4c from Emacs, ELPA Syncer, 2022/10/04