]> code.delx.au - gnu-emacs-elpa/commitdiff
counsel.el (org-bound-and-true-p): Use bound-and-true-p
authorOleh Krehel <ohwoeowho@gmail.com>
Tue, 28 Jul 2015 12:50:04 +0000 (14:50 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Tue, 28 Jul 2015 12:50:04 +0000 (14:50 +0200)
counsel.el

index 623365d16bd81ccd45bb815e318210748aa192dd..ce4087d3e9b1132a60bc7d4c499b047cf8a73f90 100644 (file)
@@ -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)))