Browse Source

Merge branch 'master' of git+ssh://orgmode.org/~/worg

* 'master' of git+ssh://orgmode.org/~/worg:
  remove done and cancelled in message of org-effectiveness
Suvayu Ali 6 years ago
parent
commit
f05f9ce264
1 changed files with 3 additions and 1 deletions
  1. 3 1
      code/elisp/org-effectiveness.el

+ 3 - 1
code/elisp/org-effectiveness.el

@@ -31,6 +31,8 @@
 
 ;;; Code:
 
+(require 'org)
+
 (defun org-count-keyword(keyword)
   "Print a message with the number of keyword outline in the current buffer"
   (interactive "sKeyword: ")
@@ -69,7 +71,7 @@
       (if (and (= done canc) (zerop done))
 	  (setq effectiveness 0)
 	(setq effectiveness (* 100 (/ done (+ done canc)))))
-      (message "Effectiveness: %f %f %f" effectiveness done canc))))
+      (message "Effectiveness: %f" effectiveness))))
 
 (defun org-keywords-in-date(keyword date)
   (interactive "sKeyword: \nsDate: " keyword date)