From a91f0c37a34a9320c8773c588d71233637e241d2 Mon Sep 17 00:00:00 2001 From: blais Date: Wed, 17 May 2006 17:25:12 +0000 Subject: [PATCH] Corrected funky behaviour of rst-shift-region when something like this appears before it: "Word:" git-svn-id: https://docutils.svn.sourceforge.net/svnroot/docutils/trunk/docutils@4560 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- tools/editors/emacs/rst.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/editors/emacs/rst.el b/tools/editors/emacs/rst.el index 5916736a0..ca6bf0917 100644 --- a/tools/editors/emacs/rst.el +++ b/tools/editors/emacs/rst.el @@ -1936,7 +1936,7 @@ Return a sorted list of (column-number . line) pairs." (when (looking-at (concat "\\(?:" - "\\(\\(?:[0-9a-zA-Z#]+[.):-]\\|[*+-]\\)[ \t]+\\)[^ \t\n]" + "\\(\\(?:[0-9a-zA-Z#]\\{1,3\\}[.):-]\\|[*+-]\\)[ \t]+\\)[^ \t\n]" "\\|" (format "\\(%s%s+[ \t]+\\)[^ \t\n]" (regexp-quote (thing-at-point 'char)) -- 2.11.4.GIT