diff options
| author | Stefan Monnier | 2017-07-04 21:32:20 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2017-07-04 21:33:00 -0400 |
| commit | 92e64db7e92dff7a81df29b1e147046064aa1842 (patch) | |
| tree | 7a5730c93c1ab46a5323311f2b4f43ea6ea41e58 | |
| parent | 684db44ea23ee140c2bc8e72310c67362b7e782b (diff) | |
| download | emacs-92e64db7e92dff7a81df29b1e147046064aa1842.tar.gz emacs-92e64db7e92dff7a81df29b1e147046064aa1842.zip | |
* lisp/progmodes/cc-mode.el: Mark unused arguments
(c-parse-quotes-before-change, c-parse-quotes-after-change):
Remove unused vars.
| -rw-r--r-- | lisp/progmodes/cc-mode.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index ef93f75c5f3..4ea097445da 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el | |||
| @@ -927,7 +927,7 @@ Note that the style variables are always made local to the buffer." | |||
| 927 | (c-clear-char-property-with-value | 927 | (c-clear-char-property-with-value |
| 928 | m-beg (point) 'syntax-table '(1))))) | 928 | m-beg (point) 'syntax-table '(1))))) |
| 929 | 929 | ||
| 930 | (defun c-extend-region-for-CPP (beg end) | 930 | (defun c-extend-region-for-CPP (_beg _end) |
| 931 | ;; Adjust `c-new-BEG', `c-new-END' respectively to the beginning and end of | 931 | ;; Adjust `c-new-BEG', `c-new-END' respectively to the beginning and end of |
| 932 | ;; any preprocessor construct they may be in. | 932 | ;; any preprocessor construct they may be in. |
| 933 | ;; | 933 | ;; |
| @@ -951,7 +951,7 @@ Note that the style variables are always made local to the buffer." | |||
| 951 | (when (> (point) c-new-END) | 951 | (when (> (point) c-new-END) |
| 952 | (setq c-new-END (min (point) (c-determine-+ve-limit 500 c-new-END))))) | 952 | (setq c-new-END (min (point) (c-determine-+ve-limit 500 c-new-END))))) |
| 953 | 953 | ||
| 954 | (defun c-depropertize-new-text (beg end old-len) | 954 | (defun c-depropertize-new-text (beg end _old-len) |
| 955 | ;; Remove from the new text in (BEG END) any and all text properties which | 955 | ;; Remove from the new text in (BEG END) any and all text properties which |
| 956 | ;; might interfere with CC Mode's proper working. | 956 | ;; might interfere with CC Mode's proper working. |
| 957 | ;; | 957 | ;; |
| @@ -970,7 +970,7 @@ Note that the style variables are always made local to the buffer." | |||
| 970 | (c-clear-char-properties beg end 'c-type) | 970 | (c-clear-char-properties beg end 'c-type) |
| 971 | (c-clear-char-properties beg end 'c-awk-NL-prop)))) | 971 | (c-clear-char-properties beg end 'c-awk-NL-prop)))) |
| 972 | 972 | ||
| 973 | (defun c-extend-font-lock-region-for-macros (begg endd old-len) | 973 | (defun c-extend-font-lock-region-for-macros (_begg endd _old-len) |
| 974 | ;; Extend the region (c-new-BEG c-new-END) to cover all (possibly changed) | 974 | ;; Extend the region (c-new-BEG c-new-END) to cover all (possibly changed) |
| 975 | ;; preprocessor macros; The return value has no significance. | 975 | ;; preprocessor macros; The return value has no significance. |
| 976 | ;; | 976 | ;; |
| @@ -1015,7 +1015,7 @@ Note that the style variables are always made local to the buffer." | |||
| 1015 | t) | 1015 | t) |
| 1016 | (t nil))))))) | 1016 | (t nil))))))) |
| 1017 | 1017 | ||
| 1018 | (defun c-neutralize-syntax-in-and-mark-CPP (begg endd old-len) | 1018 | (defun c-neutralize-syntax-in-and-mark-CPP (_begg _endd _old-len) |
| 1019 | ;; (i) "Neutralize" every preprocessor line wholly or partially in the | 1019 | ;; (i) "Neutralize" every preprocessor line wholly or partially in the |
| 1020 | ;; changed region. "Restore" lines which were CPP lines before the change | 1020 | ;; changed region. "Restore" lines which were CPP lines before the change |
| 1021 | ;; and are no longer so. | 1021 | ;; and are no longer so. |
| @@ -1197,7 +1197,7 @@ Note that this is a strict tail, so won't match, e.g. \"0x....\".") | |||
| 1197 | ;; | 1197 | ;; |
| 1198 | ;; This function is called exclusively as a before-change function via the | 1198 | ;; This function is called exclusively as a before-change function via the |
| 1199 | ;; variable `c-get-state-before-change-functions'. | 1199 | ;; variable `c-get-state-before-change-functions'. |
| 1200 | (c-save-buffer-state (p-limit limits found) | 1200 | (c-save-buffer-state (p-limit found) |
| 1201 | ;; Special consideraton for deleting \ from '\''. | 1201 | ;; Special consideraton for deleting \ from '\''. |
| 1202 | (if (and (> end beg) | 1202 | (if (and (> end beg) |
| 1203 | (eq (char-before end) ?\\) | 1203 | (eq (char-before end) ?\\) |
| @@ -1266,7 +1266,7 @@ Note that this is a strict tail, so won't match, e.g. \"0x....\".") | |||
| 1266 | 'c-digit-separator t | 1266 | 'c-digit-separator t |
| 1267 | ?')))) | 1267 | ?')))) |
| 1268 | 1268 | ||
| 1269 | (defun c-parse-quotes-after-change (beg end old-len) | 1269 | (defun c-parse-quotes-after-change (_beg _end _old-len) |
| 1270 | ;; This function applies syntax-table properties (value '(1)) and | 1270 | ;; This function applies syntax-table properties (value '(1)) and |
| 1271 | ;; c-digit-separator properties as needed to 's within the range (c-new-BEG | 1271 | ;; c-digit-separator properties as needed to 's within the range (c-new-BEG |
| 1272 | ;; c-new-END). This operation is performed even within strings and | 1272 | ;; c-new-END). This operation is performed even within strings and |
| @@ -1274,7 +1274,7 @@ Note that this is a strict tail, so won't match, e.g. \"0x....\".") | |||
| 1274 | ;; | 1274 | ;; |
| 1275 | ;; This function is called exclusively as an after-change function via the | 1275 | ;; This function is called exclusively as an after-change function via the |
| 1276 | ;; variable `c-before-font-lock-functions'. | 1276 | ;; variable `c-before-font-lock-functions'. |
| 1277 | (c-save-buffer-state (p-limit limits num-beg num-end clear-from-BEG-to) | 1277 | (c-save-buffer-state (num-beg num-end) |
| 1278 | ;; Apply the needed syntax-table and c-digit-separator text properties to | 1278 | ;; Apply the needed syntax-table and c-digit-separator text properties to |
| 1279 | ;; quotes. | 1279 | ;; quotes. |
| 1280 | (goto-char c-new-BEG) | 1280 | (goto-char c-new-BEG) |