[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100390: * lisp/progmodes/js.el (j
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100390: * lisp/progmodes/js.el (js--regexp-literal): Count backslashes. |
Date: |
Fri, 21 Jan 2011 15:48:20 -0500 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100390
committer: Stefan Monnier <address@hidden>
branch nick: emacs-23
timestamp: Fri 2011-01-21 15:48:20 -0500
message:
* lisp/progmodes/js.el (js--regexp-literal): Count backslashes.
modified:
lisp/ChangeLog
lisp/progmodes/js.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2011-01-21 18:12:32 +0000
+++ b/lisp/ChangeLog 2011-01-21 20:48:20 +0000
@@ -1,3 +1,7 @@
+2011-01-21 Stefan Monnier <address@hidden>
+
+ * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
+
2011-01-21 Jari Aalto <address@hidden>
* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): (bug#7705)
@@ -28,12 +32,12 @@
2011-01-14 Kenichi Handa <address@hidden>
- * mail/rmailmm.el (rmail-mime-insert-header): Set
- rmail-mime-coding-system to a cons whose car is the last coding
+ * mail/rmailmm.el (rmail-mime-insert-header):
+ Set rmail-mime-coding-system to a cons whose car is the last coding
system used to decode the header.
(rmail-mime-find-header-encoding): New function.
- (rmail-mime-insert-decoded-text): Override
- rmail-mime-coding-system if it is a cons.
+ (rmail-mime-insert-decoded-text):
+ Override rmail-mime-coding-system if it is a cons.
(rmail-show-mime): If only a header part was decoded, find the
coding system while ignoring mm-charset-override-alist.
@@ -46,8 +50,8 @@
* mail/rmailmm.el (rmail-mime-next-item)
(rmail-mime-previous-item): Delete them.
(rmail-mime-shown-mode): Recursively call for children.
- (rmail-mime-hidden-mode): Delete the 2nd arg TOP. Callers
- changed.
+ (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
+ Callers changed.
(rmail-mime-raw-mode): Recursively call for children.
(rmail-mode-map): Change mapping of tab and backtab to
forward-button and backward-button respectively.
@@ -56,7 +60,7 @@
(rmail-mime-update-tagline): New function.
(rmail-mime-insert-text): Call rmail-mime-update-tagline if the
body display is changed.
- (rmail-mime-toggle-button): Renamed from rmail-mime-image.
+ (rmail-mime-toggle-button): Rename from rmail-mime-image.
(rmail-mime-image): Delete this button type.
(rmail-mime-toggle): New button type.
(rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
=== modified file 'lisp/progmodes/js.el'
--- a/lisp/progmodes/js.el 2011-01-02 23:50:46 +0000
+++ b/lisp/progmodes/js.el 2011-01-21 20:48:20 +0000
@@ -1654,7 +1654,7 @@
;; as the newline is escaped with \. Account for that in the regexp
;; below.
(defconst js--regexp-literal
-
"[=(,:]\\(?:\\s-\\|\n\\)*\\(/\\)\\(?:\\\\/\\|[^/*]\\)\\(?:\\\\/\\|[^/]\\)*\\(/\\)"
+
"[=(,:]\\(?:\\s-\\|\n\\)*\\(/\\)\\(?:\\\\.\\|[^/*\\]\\)\\(?:\\\\.\\|[^/\\]\\)*\\(/\\)"
"Regexp matching a JavaScript regular expression literal.
Match groups 1 and 2 are the characters forming the beginning and
end of the literal.")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100390: * lisp/progmodes/js.el (js--regexp-literal): Count backslashes.,
Stefan Monnier <=