summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien <bzg@gnu.org>2018-03-22 02:28:02 +0100
committerBastien <bzg@gnu.org>2018-03-22 02:28:02 +0100
commit366d80a6f2ac7894183f14a25fc1983cc2e27d37 (patch)
tree0192887f2aa15c6afa4508a6dc8b3ad7e7c66347
parent6713c2792f22e9f793419ad7c299dffd31e77046 (diff)
parenta9139d99766643c0eae7cbe52384829df551c6ed (diff)
downloadorg-mode-366d80a6f2ac7894183f14a25fc1983cc2e27d37.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/org-list.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-list.el b/lisp/org-list.el
index e233785..100e06a 100644
--- a/lisp/org-list.el
+++ b/lisp/org-list.el
@@ -2623,8 +2623,8 @@ Return t if successful."
(= top (point-at-bol))
(cdr (assq 'indent org-list-automatic-rules))
(if no-subtree
- (error
- "First item of list cannot move without its subtree")
+ (user-error
+ "At first item: use S-M-<left/right> to move the whole list")
t))))
;; Determine begin and end points of zone to indent. If moving
;; more than one item, save them for subsequent moves.