diff options
| -rw-r--r-- | lisp/progmodes/cc-bytecomp.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-bytecomp.el b/lisp/progmodes/cc-bytecomp.el index b0e33a97491..39347415bd1 100644 --- a/lisp/progmodes/cc-bytecomp.el +++ b/lisp/progmodes/cc-bytecomp.el | |||
| @@ -266,7 +266,10 @@ the file. Don't use outside `eval-when-compile'." | |||
| 266 | Don't use within `eval-when-compile'." | 266 | Don't use within `eval-when-compile'." |
| 267 | `(eval-when-compile | 267 | `(eval-when-compile |
| 268 | (if (get ',symbol 'byte-obsolete-variable) | 268 | (if (get ',symbol 'byte-obsolete-variable) |
| 269 | (cc-bytecomp-put ',symbol 'byte-obsolete-variable nil)))) | 269 | (cc-bytecomp-put ',symbol 'byte-obsolete-variable nil) |
| 270 | ;; This avoids a superfluous compiler warning | ||
| 271 | ;; about calling `get' for effect. | ||
| 272 | t))) | ||
| 270 | 273 | ||
| 271 | (defun cc-bytecomp-ignore-obsolete (form) | 274 | (defun cc-bytecomp-ignore-obsolete (form) |
| 272 | ;; Wraps a call to `byte-compile-obsolete' that suppresses the warning. | 275 | ;; Wraps a call to `byte-compile-obsolete' that suppresses the warning. |