summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2019-03-13 00:25:51 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2019-03-14 23:41:20 +0100
commit7fcd14945a626c359bab591b38f6a6811c4733d1 (patch)
tree77148cc8abc1afa73b634ca438ecdc208f1897c8
parente7c3f39a00d4ba1fe163f49255482690a2dd12ad (diff)
downloadorg-mode-7fcd14945a626c359bab591b38f6a6811c4733d1.tar.gz
org-inlinetask: remove unused function
* lisp/org-inlinetask.el (org-inlinetask-get-current-indentation): Remove function. The function was unused throughout the code base.
-rw-r--r--lisp/org-inlinetask.el11
1 files changed, 0 insertions, 11 deletions
diff --git a/lisp/org-inlinetask.el b/lisp/org-inlinetask.el
index 775facd..c76d7d2 100644
--- a/lisp/org-inlinetask.el
+++ b/lisp/org-inlinetask.el
@@ -268,17 +268,6 @@ If the task has an end part, also demote it."
(goto-char beg)
(org-fixup-indentation diff)))))))
-(defun org-inlinetask-get-current-indentation ()
- "Get the indentation of the last non-while line above this one."
- (save-excursion
- (beginning-of-line 1)
- (skip-chars-backward " \t\n")
- (beginning-of-line 1)
- (or (org-at-item-p)
- (looking-at "[ \t]*"))
- (goto-char (match-end 0))
- (current-column)))
-
(defvar org-indent-indentation-per-level) ; defined in org-indent.el
(defface org-inlinetask '((t :inherit shadow))