]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix lexical-binding conversion of semantic/bovine/gcc.el
authorStefan Kangas <stefan@marxist.se>
Thu, 11 Feb 2021 14:40:45 +0000 (15:40 +0100)
committerStefan Kangas <stefan@marxist.se>
Thu, 11 Feb 2021 15:12:02 +0000 (16:12 +0100)
* lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-get-include-paths):
Fix sorting and comparison after previous lexical-binding conversion.

lisp/cedet/semantic/bovine/gcc.el

index 9cd9cdcb84b1234de35b5eab6285c181f2c2f248..c2121e5d587fb9460346206b657b1643a5ae56a8 100644 (file)
@@ -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)