diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-02-11 15:40:45 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-02-11 16:12:02 +0100 |
commit | b3362f7b705d004f53792406f4fdac78e8370fc7 (patch) | |
tree | 22679bb0f1ca1e793da4be39a81087ec4e7940bd /lisp | |
parent | 21ec45c10727403421c41c8c67a752458790afbb (diff) | |
download | emacs-b3362f7b705d004f53792406f4fdac78e8370fc7.tar.gz emacs-b3362f7b705d004f53792406f4fdac78e8370fc7.tar.bz2 emacs-b3362f7b705d004f53792406f4fdac78e8370fc7.zip |
; 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.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/cedet/semantic/bovine/gcc.el | 5 |
1 files changed, 3 insertions, 2 deletions
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) |