]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix byte-compiler warning in CEDET
authorStefan Kangas <stefankangas@gmail.com>
Sat, 26 Sep 2020 08:50:12 +0000 (10:50 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sat, 26 Sep 2020 08:50:12 +0000 (10:50 +0200)
* lisp/cedet/semantic/lex.el (semantic-lex-catch-errors): Fix
byte-compiler warning by removing obsolete variable.

lisp/cedet/semantic/lex.el

index 799aa45a82383d264239c2d74c4c933b0f09c926..809271ddccd5c316d04a126a63981579517dbc6d 100644 (file)
@@ -1701,9 +1701,6 @@ If there is no error, then the last value of FORMS is returned."
     `(let* ((semantic-lex-unterminated-syntax-end-function
              (lambda (,syntax ,start ,end)
                (throw ',symbol ,syntax)))
-            ;; Delete the below when semantic-flex is fully retired.
-            (semantic-flex-unterminated-syntax-end-function
-             semantic-lex-unterminated-syntax-end-function)
             (,ret (catch ',symbol
                     (save-excursion
                       ,@forms