From cfb91b5bca51dadce661d51cd6bd3df94a2d5761 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 8 Feb 2021 09:18:41 -0500 Subject: [PATCH] * lisp/indent.el (beginning-of-line-text): Mark it as a movement command So that combining it with `shift` selects the text, as usual, in case you have it bound for example to `C-a` in a mode like `enriched-mode`. --- lisp/indent.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/indent.el b/lisp/indent.el index 5cbf0acaa25..285b8e2038f 100644 --- a/lisp/indent.el +++ b/lisp/indent.el @@ -525,7 +525,7 @@ From the beginning of the line, moves past the left-margin indentation, the fill-prefix, and any indentation used for centering or right-justifying the line, but does not move past any whitespace that was explicitly inserted \(such as a tab used to indent the first line of a paragraph)." - (interactive "p") + (interactive "^p") (beginning-of-line n) (skip-chars-forward " \t") ;; Skip over fill-prefix. -- 2.39.5