[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 2fb15dc: * lisp/progmodes/cc-cmds.el: Remove unused
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] master 2fb15dc: * lisp/progmodes/cc-cmds.el: Remove unused vars |
Date: |
Tue, 4 Jul 2017 22:00:38 -0400 (EDT) |
branch: master
commit 2fb15dcbbbb8e0c7d90410a1bc94dbef0a83c15b
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
* lisp/progmodes/cc-cmds.el: Remove unused vars
(c-syntactic-context): Declare as dynbound.
(c-beginning-of-defun, c-end-of-defun): Remove unused var `start'.
---
lisp/progmodes/cc-cmds.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el
index de25439..121ba24 100644
--- a/lisp/progmodes/cc-cmds.el
+++ b/lisp/progmodes/cc-cmds.el
@@ -51,6 +51,8 @@
;; Indentation / Display syntax functions
(defvar c-fix-backslashes t)
+(defvar c-syntactic-context)
+
(defun c-indent-line (&optional syntax quiet ignore-point-pos)
"Indent the current line according to the syntactic context,
if `c-syntactic-indentation' is non-nil. Optional SYNTAX is the
@@ -1635,7 +1637,6 @@ defun."
(c-save-buffer-state
(beginning-of-defun-function
end-of-defun-function
- (start (point))
(paren-state (c-parse-state))
(orig-point-min (point-min)) (orig-point-max (point-max))
lim ; Position of { which has been widened to.
@@ -1759,7 +1760,6 @@ the open-parenthesis that starts a defun; see
`beginning-of-defun'."
(c-save-buffer-state
(beginning-of-defun-function
end-of-defun-function
- (start (point))
(paren-state (c-parse-state))
(orig-point-min (point-min)) (orig-point-max (point-max))
lim
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 2fb15dc: * lisp/progmodes/cc-cmds.el: Remove unused vars,
Stefan Monnier <=