[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ruby-end a762ab34ac 86/91: Add the recommended second a
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ruby-end a762ab34ac 86/91: Add the recommended second arg to looking-back calls |
Date: |
Wed, 25 Jan 2023 19:58:47 -0500 (EST) |
branch: externals/ruby-end
commit a762ab34ac09e0147fac113b7f789b349c8ee0f8
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
Add the recommended second arg to looking-back calls
---
ruby-end.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ruby-end.el b/ruby-end.el
index c54e642ac4..4c1ae60834 100644
--- a/ruby-end.el
+++ b/ruby-end.el
@@ -158,8 +158,10 @@ When nil, any `last-command' will do."
(memq last-command ruby-end-expand-only-for-last-commands))
(ruby-end-code-at-point-p)
(or
- (looking-back ruby-end-expand-statement-modifiers-before-re)
- (looking-back ruby-end-expand-keywords-before-re))
+ (looking-back ruby-end-expand-statement-modifiers-before-re
+ (line-beginning-position))
+ (looking-back ruby-end-expand-keywords-before-re
+ (line-beginning-position)))
(looking-at ruby-end-expand-after-re))))
(defun ruby-end-code-at-point-p ()
- [elpa] externals/ruby-end 92dd44a4f5 35/91: Update README., (continued)
- [elpa] externals/ruby-end 92dd44a4f5 35/91: Update README., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 5d302e1b84 43/91: Updated version to 0.2.0., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 8de5a68ff6 45/91: Add pkg file., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 338879148d 47/91: Add Makefile to run tests., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 1aa855419b 50/91: Add link to Youtube video in README., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 2be07b0259 53/91: Update version to v0.2.1., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end cc4b8a42c3 57/91: Migrate from Carton to Cask., ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end cf55eff3f8 60/91: Merge branch 'last-command', ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 22879aa681 71/91: add hook for enhanced ruby mode, ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 3616cedc25 83/91: Add file features/vendor/.nosearch, ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end a762ab34ac 86/91: Add the recommended second arg to looking-back calls,
ELPA Syncer <=
- [elpa] externals/ruby-end 7c11c81583 88/91: Remove the deprecated usage of asterisks in defcustom docstrings, ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 3a8152e42a 90/91: Bump the version, ELPA Syncer, 2023/01/25
- [elpa] externals/ruby-end 2d4097afcb 91/91: Update the copyright blurb, ELPA Syncer, 2023/01/25