From: Stefan Monnier Date: Mon, 8 Feb 2021 14:18:41 +0000 (-0500) Subject: * lisp/indent.el (beginning-of-line-text): Mark it as a movement command X-Git-Tag: emacs-28.0.90~3869 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cfb91b5bca51dadce661d51cd6bd3df94a2d5761;p=emacs.git * 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`. --- 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.