[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 43/46: Fix toggling single-line comments
From: |
Dmitry Gutov |
Subject: |
[elpa] 43/46: Fix toggling single-line comments |
Date: |
Sat, 15 Nov 2014 20:58:13 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit d805114efc562a59ec5903c9fa01dcc27924d979
Author: Simen Heggestøyl <address@hidden>
Date: Sat Nov 15 17:19:50 2014 +0100
Fix toggling single-line comments
Fixes #179
---
js2-mode.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/js2-mode.el b/js2-mode.el
index 8ac9a0f..a835c92 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -11129,8 +11129,8 @@ If there is no such matching line, returns current end
of line."
(while (and (zerop (forward-line direction))
(looking-at js2-mode-//-comment-re)
(eq indent (length (match-string 1))))
- (setq pos (point-at-eol))
- pos))))
+ (setq pos (point-at-eol)))
+ pos)))
(defun js2-mode-hide-//-comments ()
"Fold adjacent 1-line comments, showing only snippet of first one."
- [elpa] 31/46: js2-mode-find-enclosing-node: Make docstring and impl consistent with name, (continued)
- [elpa] 31/46: js2-mode-find-enclosing-node: Make docstring and impl consistent with name, Dmitry Gutov, 2014/11/15
- [elpa] 33/46: js2-parse-primary-expr: Make some vars "more" local, Dmitry Gutov, 2014/11/15
- [elpa] 34/46: Add imenu support for the Sencha framework, Dmitry Gutov, 2014/11/15
- [elpa] 36/46: Indent before inequality operator at bol, Dmitry Gutov, 2014/11/15
- [elpa] 38/46: Indent after `+=', Dmitry Gutov, 2014/11/15
- [elpa] 37/46: Support object destructuring inside arrow function args, Dmitry Gutov, 2014/11/15
- [elpa] 30/46: js2-imenu-extras.el: Use Unix-style EOL, Dmitry Gutov, 2014/11/15
- [elpa] 42/46: js2-imenu-walk-ast: Look up js2-imenu-show-module-pattern in v-i-n case, too, Dmitry Gutov, 2014/11/15
- [elpa] 40/46: Support orphan functions on the right side of assignments, Dmitry Gutov, 2014/11/15
- [elpa] 35/46: Merge pull request #173 from lelit/master, Dmitry Gutov, 2014/11/15
- [elpa] 43/46: Fix toggling single-line comments,
Dmitry Gutov <=
- [elpa] 41/46: js2-imenu-record-module-pattern: Support `js2-var-init-node', Dmitry Gutov, 2014/11/15
- [elpa] 46/46: Merge commit '2c744815cf9e4653625dd25f2e7f8b59c152782d' from js2-mode, Dmitry Gutov, 2014/11/15
- [elpa] 45/46: Bump the version, Dmitry Gutov, 2014/11/15
- [elpa] 44/46: Merge pull request #180 from simenheg/master, Dmitry Gutov, 2014/11/15
- [elpa] 39/46: Check in LICENSE, Dmitry Gutov, 2014/11/15