aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorGlenn Morris2011-01-22 11:36:45 -0800
committerGlenn Morris2011-01-22 11:36:45 -0800
commit7c82f3e23e37cc848a38b1f8be7149fd672a6393 (patch)
treee721d1d5361deeb04278045331d74e9c7f8b00f0 /lisp/progmodes
parent80094035aff85d827e1ef65627974b34ad9fa8df (diff)
parentbd2a4b24c4a591240862704737b5bc696ff67cbf (diff)
downloademacs-7c82f3e23e37cc848a38b1f8be7149fd672a6393.tar.gz
emacs-7c82f3e23e37cc848a38b1f8be7149fd672a6393.zip
Merge from emacs-23
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/compile.el6
-rw-r--r--lisp/progmodes/js.el3
2 files changed, 3 insertions, 6 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 25429801298..0c9431d1d9d 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -508,10 +508,8 @@ matched by the whole REGEXP becomes the hyperlink.
508 508
509Additional HIGHLIGHTs as described under `font-lock-keywords' can 509Additional HIGHLIGHTs as described under `font-lock-keywords' can
510be added." 510be added."
511 :type `(set :menu-tag "Pick" 511 :type '(repeat (choice (symbol :tag "Predefined symbol")
512 ,@(mapcar (lambda (elt) 512 (sexp :tag "Error specification")))
513 (list 'const (car elt)))
514 compilation-error-regexp-alist-alist))
515 :link `(file-link :tag "example file" 513 :link `(file-link :tag "example file"
516 ,(expand-file-name "compilation.txt" data-directory)) 514 ,(expand-file-name "compilation.txt" data-directory))
517 :group 'compilation) 515 :group 'compilation)
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
index 27d3dd1ae40..346a77b5810 100644
--- a/lisp/progmodes/js.el
+++ b/lisp/progmodes/js.el
@@ -1659,12 +1659,11 @@ This performs fontification according to `js--class-styles'."
1659;; below. 1659;; below.
1660(eval-and-compile 1660(eval-and-compile
1661 (defconst js--regexp-literal 1661 (defconst js--regexp-literal
1662 "[=(,:]\\(?:\\s-\\|\n\\)*\\(/\\)\\(?:\\\\/\\|[^/*]\\)\\(?:\\\\/\\|[^/]\\)*\\(/\\)" 1662 "[=(,:]\\(?:\\s-\\|\n\\)*\\(/\\)\\(?:\\\\.\\|[^/*\\]\\)\\(?:\\\\.\\|[^/\\]\\)*\\(/\\)"
1663 "Regexp matching a JavaScript regular expression literal. 1663 "Regexp matching a JavaScript regular expression literal.
1664Match groups 1 and 2 are the characters forming the beginning and 1664Match groups 1 and 2 are the characters forming the beginning and
1665end of the literal.")) 1665end of the literal."))
1666 1666
1667
1668(defconst js-syntax-propertize-function 1667(defconst js-syntax-propertize-function
1669 (syntax-propertize-rules 1668 (syntax-propertize-rules
1670 ;; We want to match regular expressions only at the beginning of 1669 ;; We want to match regular expressions only at the beginning of