summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2011-05-31 13:46:30 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2011-05-31 13:46:30 +0200
commit1beda3d3c8cd95f924b55ef869cdd4475cb1fcaf (patch)
tree68fca8b6e129608102d63595c3dd329f7e38dbcc
parent926b6163f1fd26c00b3f77da7838766647e26803 (diff)
downloadorg-mode-1beda3d3c8cd95f924b55ef869cdd4475cb1fcaf.tar.gz
Fix typo in code
* lisp/org.el (org-toggle-item): Move parenthesis to correct location.
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index deae30c..9562b6e 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -17878,7 +17878,7 @@ argument ARG, change each line in region into an item."
;; Case 3. Normal line with ARG: turn each non-item line into
;; an item.
(arg
- (while (< (point end))
+ (while (< (point) end)
(unless (or (org-on-heading-p) (org-at-item-p))
(if (looking-at "\\([ \t]*\\)\\(\\S-\\)")
(replace-match