Skip to content

Commit

Permalink
v14
Browse files Browse the repository at this point in the history
  • Loading branch information
fxbois committed May 5, 2016
1 parent 7b06caa commit 9bd7a7e
Showing 1 changed file with 3 additions and 45 deletions.
48 changes: 3 additions & 45 deletions web-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

;; Copyright 2011-2016 François-Xavier Bois

;; Version: 13.2.0
;; Version: 14.0.0
;; Author: François-Xavier Bois <fxbois AT Google Mail Service>
;; Maintainer: François-Xavier Bois
;; URL: http://web-mode.org
Expand All @@ -21,7 +21,7 @@

;;---- CONSTS ------------------------------------------------------------------

(defconst web-mode-version "13.2.0"
(defconst web-mode-version "14.0.0"
"Web Mode version.")

;;---- GROUPS ------------------------------------------------------------------
Expand Down Expand Up @@ -2048,7 +2048,7 @@ another auto-completion with different ac-sources (e.g. ac-php)")
(defvar web-mode-syntax-table
(let ((table (make-syntax-table)))
(modify-syntax-entry ?- "_" table)
(modify-syntax-entry ?_ "_" table) ;; #563
(modify-syntax-entry ?_ "_" table) ;#563
(modify-syntax-entry ?< "." table)
(modify-syntax-entry ?> "." table)
(modify-syntax-entry ?& "." table)
Expand Down Expand Up @@ -2615,10 +2615,6 @@ another auto-completion with different ac-sources (e.g. ac-php)")
(setq closing-string "}"
delim-open "${"
delim-close "}"))
;;(t
;; (setq closing-string ">"
;; delim-open "</?"
;; delim-close "/?>"))
)
) ;jsp

Expand Down Expand Up @@ -10411,44 +10407,6 @@ Prompt user if TAG-NAME isn't provided."
) ;while
pos))

;; (defun web-mode-block-opening-paren-position2 (pos limit)
;; (save-excursion
;; (when (> limit pos)
;; (message "block-opening-paren-position: limit(%S) > pos(%S)" limit pos))
;; (goto-char pos)
;; (let (c
;; n
;; pt
;; (continue (> pos limit))
;; (pairs '((")" . "(")
;; ("]" . "[")
;; ("}" . "{")))
;; (h (make-hash-table :test 'equal))
;; (regexp "[\]\[)(}{]"))
;; (while (and continue (re-search-backward regexp limit t))
;; (cond
;; ((web-mode-is-comment-or-string)
;; )
;; (t
;; (setq c (string (char-after)))
;; (cond
;; ((member c '("(" "{" "["))
;; (setq n (gethash c h 0))
;; (if (= n 0)
;; (setq continue nil
;; pt (point))
;; (puthash c (1+ n) h)
;; ))
;; (t
;; (setq c (cdr (assoc c pairs)))
;; (setq n (gethash c h 0))
;; (puthash c (1- n) h))
;; ) ;cond
;; ) ;t
;; ) ;cond
;; ) ;while
;; pt)))

(defun web-mode-block-opening-paren-position (pos limit)
(save-excursion
(when (> limit pos)
Expand Down

0 comments on commit 9bd7a7e

Please sign in to comment.