summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-guess.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/cc-guess.el')
-rw-r--r--lisp/progmodes/cc-guess.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/progmodes/cc-guess.el b/lisp/progmodes/cc-guess.el
index abde007cd04..5424e8d4a61 100644
--- a/lisp/progmodes/cc-guess.el
+++ b/lisp/progmodes/cc-guess.el
@@ -504,8 +504,7 @@ is called with one argument, the guessed style."
(cond
((or (and a-guessed? b-guessed?)
(not (or a-guessed? b-guessed?)))
- (string-lessp (symbol-name (car a))
- (symbol-name (car b))))
+ (string-lessp (car a) (car b)))
(a-guessed? t)
(b-guessed? nil)))))))
style)