branch: master commit a33af2997bf8de63ea3169b81325518765c15758 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
counsel.el (org-bound-and-true-p): Use bound-and-true-p --- counsel.el | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/counsel.el b/counsel.el index 623365d..ce4087d 100644 --- a/counsel.el +++ b/counsel.el @@ -747,7 +747,6 @@ Usable with `ivy-resume', `ivy-next-line-and-call' and (defvar org-indent-indentation-per-level) (defvar org-tags-column) (declare-function org-get-tags-string "org") -(declare-function org-bound-and-true-p "org-macs") (declare-function org-move-to-column "org") (defun counsel-org-change-tags (tags) @@ -771,7 +770,7 @@ Usable with `ivy-resume', `ivy-next-line-and-call' and (goto-char (match-beginning 0)) (let* ((c0 (current-column)) ;; compute offset for the case of org-indent-mode active - (di (if (org-bound-and-true-p org-indent-mode) + (di (if (bound-and-true-p org-indent-mode) (* (1- org-indent-indentation-per-level) (1- level)) 0)) (p0 (if (equal (char-before) ?*) (1+ (point)) (point)))