branch: elpa/crux commit 23ffa81bae171147a9c6f0438032760e566cece7 Author: Bozhidar Batsov <bozhi...@batsov.com> Commit: Bozhidar Batsov <bozhi...@batsov.com>
Touch up the previous commit --- crux.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/crux.el b/crux.el index 5eff1cc..64f2541 100644 --- a/crux.el +++ b/crux.el @@ -135,11 +135,12 @@ expected name of the shell buffer." :type 'symbol :group 'crux) -(defcustom crux-should-move-visually +(defcustom crux-move-visually nil - "Wheter moves should take visual lines into account or not." + "Wheter move-related commands should take visual lines into account or not." :type 'boolean - :group 'crux) + :group 'crux + :package-version '(crux . "0.4.0")) (defun crux-ansi-term (buffer-name) "Use ansi-term for `crux-visit-term-buffer'" @@ -314,7 +315,7 @@ Deletes whitespace at join." "Move to the beginning, skipping mode specific line start regex." (interactive) - (if crux-should-move-visually + (if crux-move-visually (beginning-of-visual-line nil) (move-beginning-of-line nil))