From: Stefan Kangas Date: Thu, 11 Feb 2021 14:40:45 +0000 (+0100) Subject: ; Fix lexical-binding conversion of semantic/bovine/gcc.el X-Git-Tag: emacs-28.0.90~3807 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b3362f7b705d004f53792406f4fdac78e8370fc7;p=emacs.git ; Fix lexical-binding conversion of semantic/bovine/gcc.el * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-get-include-paths): Fix sorting and comparison after previous lexical-binding conversion. --- diff --git a/lisp/cedet/semantic/bovine/gcc.el b/lisp/cedet/semantic/bovine/gcc.el index 9cd9cdcb84b..c2121e5d587 100644 --- a/lisp/cedet/semantic/bovine/gcc.el +++ b/lisp/cedet/semantic/bovine/gcc.el @@ -89,8 +89,9 @@ to give to the program." (let ((path (substring line 1))) (when (and (file-accessible-directory-p path) (file-name-absolute-p path)) - (cl-pushnew (expand-file-name path) inc-path)))))))) - inc-path)) + (cl-pushnew (expand-file-name path) inc-path + :test #'equal)))))))) + (nreverse inc-path))) (defun semantic-cpp-defs (str)