diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2014-06-26 11:13:13 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2014-06-26 11:13:13 +0400 |
commit | 6e5a5743ddab1142018f20000081184f0bd9dc94 (patch) | |
tree | a82b4e6a393d26d06d1023147ee13d5ef928dbf8 /lisp/progmodes/cc-guess.el | |
parent | 51a3c85711017b70579c08a3342effca9fd7a77b (diff) | |
download | emacs-6e5a5743ddab1142018f20000081184f0bd9dc94.tar.gz |
* src/fns.c (Fcompare_strings): Use FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE.
* lisp/calc/calc-alg.el (math-beforep):
* lisp/progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
Simplify because string-lessp can accept symbols as args.
Diffstat (limited to 'lisp/progmodes/cc-guess.el')
-rw-r--r-- | lisp/progmodes/cc-guess.el | 3 |
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) |