diff options
| author | Simen Heggestøyl | 2016-09-09 18:46:55 +0200 |
|---|---|---|
| committer | Simen Heggestøyl | 2016-09-09 18:46:55 +0200 |
| commit | 367f8568bc9e759ebdfb423648891efa0346456b (patch) | |
| tree | 53af7a92fcac725150fe6fce916b27c9e0153473 /test | |
| parent | 8634efa38179f44c2cb5c52c25ced3f02fa5ec1a (diff) | |
| download | emacs-367f8568bc9e759ebdfb423648891efa0346456b.tar.gz emacs-367f8568bc9e759ebdfb423648891efa0346456b.zip | |
* lisp/emacs-lisp/ring.el: Use lexical-binding
* lisp/emacs-lisp/ring.el (ring-elements): Don't use the RESULT
argument of `dotimes' when the iteration variable isn't referred by
it.
(ring-member): Don't pass nil as the RESULT argument of `dotimes'
since it's the default.
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/emacs-lisp/ring-tests.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/ring-tests.el b/test/lisp/emacs-lisp/ring-tests.el index 705bfe5cffe..affde8914bd 100644 --- a/test/lisp/emacs-lisp/ring-tests.el +++ b/test/lisp/emacs-lisp/ring-tests.el | |||
| @@ -5,6 +5,8 @@ | |||
| 5 | ;; Author: Simen Heggestøyl <simenheg@gmail.com> | 5 | ;; Author: Simen Heggestøyl <simenheg@gmail.com> |
| 6 | ;; Keywords: | 6 | ;; Keywords: |
| 7 | 7 | ||
| 8 | ;; This file is part of GNU Emacs. | ||
| 9 | |||
| 8 | ;; GNU Emacs is free software: you can redistribute it and/or modify | 10 | ;; GNU Emacs is free software: you can redistribute it and/or modify |
| 9 | ;; it under the terms of the GNU General Public License as published by | 11 | ;; it under the terms of the GNU General Public License as published by |
| 10 | ;; the Free Software Foundation, either version 3 of the License, or | 12 | ;; the Free Software Foundation, either version 3 of the License, or |