Browse Source

Merge branch 'master' of orgmode.org:worg

Bastien Guerry 6 years ago
parent
commit
c501294322
2 changed files with 4 additions and 2 deletions
  1. 3 1
      code/elisp/org-effectiveness.el
  2. 1 1
      org-configs/index.org

+ 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)

+ 1 - 1
org-configs/index.org

@@ -21,7 +21,7 @@ Org-mode is highly customizable, but can be used with very little setup.
 
 - [[file:org-customization-guide.org][Org customization guide for beginners]]
 - [[file:org-customization-survey.org][Org customization survey results]]
-- Complete lists of Org [[file:~/install/git/worg/doc.org::#hooks][hooks]], [[file:~/install/git/worg/doc.org::#options][options]] and [[file:~/install/git/worg/doc.org::#commands][commands]]
+- Complete lists of Org [[file:../doc.org::#hooks][hooks]], [[file:../doc.org::#options][options]] and [[file:../doc.org::#commands][commands]]
 
 - [[file:org-config-examples.org][Random Org configuration examples]]