[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/xah-fly-keys 1c3109d384 2/5: `xah-beginning-of-line-or-blo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/xah-fly-keys 1c3109d384 2/5: `xah-beginning-of-line-or-block': tabs/spaces |
Date: |
Sat, 9 Jul 2022 02:59:31 -0400 (EDT) |
branch: elpa/xah-fly-keys
commit 1c3109d38477eac143ba77e791d1be573a243cef
Author: Celestial Nebula <41875671+CelestialNebula@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
`xah-beginning-of-line-or-block': tabs/spaces
Don't skip over tabs/spaces, when they are the only things on that line.
---
xah-fly-keys.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/xah-fly-keys.el b/xah-fly-keys.el
index ca30652f09..0c380a56df 100644
--- a/xah-fly-keys.el
+++ b/xah-fly-keys.el
@@ -4,7 +4,7 @@
;; Author: Xah Lee ( http://xahlee.info/ )
;; Maintainer: Xah Lee <xah@xahlee.org>
-;; Version: 17.15.20220705140319
+;; Version: 17.15.20220706180000
;; Created: 10 Sep 2013
;; Package-Requires: ((emacs "24.1"))
;; Keywords: convenience, emulations, vim, ergoemacs
@@ -216,13 +216,13 @@ Version: 2016-04-04"
• if `visual-line-mode' is on, beginning of line means visual line.
URL
`http://xahlee.info/emacs/emacs/emacs_keybinding_design_beginning-of-line-or-block.html'
-Version: 2018-06-04 2021-03-16 2022-03-30 2022-07-03"
+Version: 2018-06-04 2021-03-16 2022-03-30 2022-07-03 2022-07-06"
(interactive)
(let (($p (point)))
(if (or (equal (point) (line-beginning-position))
(eq last-command this-command))
(when
- (re-search-backward "\n\n+" nil 1)
+ (re-search-backward "\n[\t\n ]*\n+" nil 1)
(skip-chars-backward "\n\t ")
(forward-char))
(if visual-line-mode