[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master b78cf15: * lisp/progmodes/cc-guess.el: Remove unuse
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] master b78cf15: * lisp/progmodes/cc-guess.el: Remove unused var |
Date: |
Tue, 4 Jul 2017 21:55:51 -0400 (EDT) |
branch: master
commit b78cf15118d665d2671101f8e78e3ac4efd92562
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
* lisp/progmodes/cc-guess.el: Remove unused var
(c-guess-view-reorder-offsets-alist-in-style): Remove redundantly bound
and computed variable `guessed-syntactic-symbols'.
---
lisp/progmodes/cc-guess.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lisp/progmodes/cc-guess.el b/lisp/progmodes/cc-guess.el
index 153b3a3..c8cd6fb 100644
--- a/lisp/progmodes/cc-guess.el
+++ b/lisp/progmodes/cc-guess.el
@@ -494,8 +494,7 @@ is called with one argument, the guessed style."
;; If an entry in `c-offsets-alist' holds a guessed value, move it to
;; front in the field. In addition alphabetical sort by entry name is done.
(setq style (copy-tree style))
- (let ((offsets-alist-cell (assq 'c-offsets-alist style))
- (guessed-syntactic-symbols (c-guess-guessed-syntactic-symbols)))
+ (let ((offsets-alist-cell (assq 'c-offsets-alist style)))
(setcdr offsets-alist-cell
(sort (cdr offsets-alist-cell)
(lambda (a b)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master b78cf15: * lisp/progmodes/cc-guess.el: Remove unused var,
Stefan Monnier <=