diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2019-03-19 18:45:17 -0700 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-03-19 18:47:53 -0700 |
| commit | e14c0d748efe35afc653151ff18c4dd93dcc456e (patch) | |
| tree | f31050be99133f3466413728c2c948ab7914fcb7 /lisp/progmodes/js.el | |
| parent | b2dd61ffb0b4efc0419f4b5cbe279c2700b549e8 (diff) | |
| download | emacs-e14c0d748efe35afc653151ff18c4dd93dcc456e.tar.gz | |
More minor regex cleanup
Problems reported by Mattias EngdegÄrd in:
https://lists.gnu.org/r/emacs-devel/2019-03/msg00643.html
plus a few others that I noticed.
* lisp/auth-source-pass.el (auth-source-pass--parse-data):
* lisp/org/org-datetree.el (org-datetree--find-create):
* lisp/org/org-pcomplete.el (org-thing-at-point):
* lisp/progmodes/js.el (js--end-of-do-while-loop-p):
* lisp/textmodes/sgml-mode.el:
(sgml-electric-tag-pair-before-change-function):
* lisp/textmodes/texnfo-upd.el (texinfo-menu-copy-old-description):
* lisp/url/url-http.el (url-http-parse-response):
Fix regular expression and similar syntax.
Diffstat (limited to 'lisp/progmodes/js.el')
| -rw-r--r-- | lisp/progmodes/js.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index f1ec5ceea56..4d91da73340 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el @@ -1908,7 +1908,7 @@ the same column as the current line." (save-match-data (when (looking-at "\\s-*\\_<while\\_>") (if (save-excursion - (skip-chars-backward "[ \t\n]*}") + (skip-chars-backward " \t\n}") (looking-at "[ \t\n]*}")) (save-excursion (backward-list) (forward-symbol -1) (looking-at "\\_<do\\_>")) |
