diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-11-19 19:07:02 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-11-19 19:07:02 -0800 |
commit | 615a3b8d0d2c88cd664f1e0beb5a32b5b8e08f90 (patch) | |
tree | e0458a9eac443c36a3a4bfa117fde01bbd6e4140 /lisp/progmodes/js.el | |
parent | c3ca24d48c10fb771ee02eb58f7d49bd82d6306e (diff) | |
parent | e1dbe924b53c541fdf238a5a722b7177d5c8760b (diff) | |
download | emacs-615a3b8d0d2c88cd664f1e0beb5a32b5b8e08f90.tar.gz emacs-615a3b8d0d2c88cd664f1e0beb5a32b5b8e08f90.tar.bz2 emacs-615a3b8d0d2c88cd664f1e0beb5a32b5b8e08f90.zip |
Merge from trunk.
Diffstat (limited to 'lisp/progmodes/js.el')
-rw-r--r-- | lisp/progmodes/js.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index 5505e8e94b2..94a9c250fee 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el @@ -1295,7 +1295,7 @@ LIMIT defaults to point." ;; Like (up-list -1), but only considers lists that end nearby" (defun js--up-nearby-list () (save-restriction - ;; Look at a very small region so our compuation time doesn't + ;; Look at a very small region so our computation time doesn't ;; explode in pathological cases. (narrow-to-region (max (point-min) (- (point) 500)) (point)) (up-list -1))) @@ -1599,7 +1599,7 @@ will be returned." (defun js-syntactic-context () "Return the JavaScript syntactic context at point. -When called interatively, also display a message with that +When called interactively, also display a message with that context." (interactive) (let* ((syntactic-context (js--syntactic-context-from-pstate @@ -3352,7 +3352,7 @@ If one hasn't been set, or if it's stale, prompt for a new one." ;; etc. and produce maddening "unbalanced parenthesis" errors. ;; When we attempt to find the error and scroll to the portion of ;; the buffer containing the problem, JIT-lock will apply the - ;; correct syntax to the regular expresion literal and the problem + ;; correct syntax to the regular expression literal and the problem ;; will mysteriously disappear. ;; FIXME: We should actually do this fontification lazily by adding ;; calls to syntax-propertize wherever it's really needed. |