Browse Source

Fix broken org-bullets.

* contrib/lisp/org-bullets.el (org-bullets-mode): Remove bad require.
  Add comma in backticked list to evaluate org-outline-regexp-bol,
  which replaced a regexp constant.
Rick Frankel 12 years ago
parent
commit
2d2cc48610
1 changed files with 1 additions and 2 deletions
  1. 1 2
      contrib/lisp/org-bullets.el

+ 1 - 2
contrib/lisp/org-bullets.el

@@ -82,9 +82,8 @@ If this is undesirable, one can remove them with
 (define-minor-mode org-bullets-mode
   "UTF-8 bullets for `org-mode'."
   nil nil nil
-  (require 'org-mode)
   (let* ((keyword
-	  `((org-outline-regexp-bol
+	  `((,org-outline-regexp-bol
 	     (0 (let (( level (- (match-end 0) (match-beginning 0) 1)))
 		  (compose-region (- (match-end 0) 2)
 				  (- (match-end 0) 1)