emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master cfb91b5: * lisp/indent.el (beginning-of-line-text): Mark it as a


From: Stefan Monnier
Subject: master cfb91b5: * lisp/indent.el (beginning-of-line-text): Mark it as a movement command
Date: Mon, 8 Feb 2021 09:18:47 -0500 (EST)

branch: master
commit cfb91b5bca51dadce661d51cd6bd3df94a2d5761
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * 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 5cbf0ac..285b8e2 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]