summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-05-26 19:21:56 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-05-26 19:22:18 -0700
commit4ab2673d87794dbbe4db33856c0dc69e4b06db71 (patch)
tree7761db6d007ba9cd30107afda16c8bbb6f84119a
parent71c152e2af45e79bcc7e58a47571f83d6811256c (diff)
downloademacs-4ab2673d87794dbbe4db33856c0dc69e4b06db71.tar.gz
; Spelling and punctuation fixes in comments
-rw-r--r--test/automated/viper-tests.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/automated/viper-tests.el b/test/automated/viper-tests.el
index 8b30f050935..e2c39b3c3de 100644
--- a/test/automated/viper-tests.el
+++ b/test/automated/viper-tests.el
@@ -33,7 +33,7 @@ after itself, although it will leave a buffer called
(let (
;; Viper just turns itself off during batch use.
(noninteractive nil)
- ;; Switch off start up message or it will chew the key presses
+ ;; Switch off start up message or it will chew the key presses.
(viper-inhibit-startup-message 't)
;; Select an expert-level for the same reason.
(viper-expert-level 5)
@@ -42,7 +42,7 @@ after itself, although it will leave a buffer called
(before-buffer (current-buffer)))
(unwind-protect
(progn
- ;; viper-mode is essentially global, so set it here
+ ;; viper-mode is essentially global, so set it here.
(viper-mode)
;; We must switch to buffer because we are using a keyboard macro
;; which appears to not go to the current-buffer but what ever is
@@ -54,16 +54,16 @@ after itself, although it will leave a buffer called
(erase-buffer)
;; The new buffer fails to enter vi state so set it.
(viper-change-state-to-vi)
- ;; Run the macro
+ ;; Run the macro.
(execute-kbd-macro kmacro)
(let ((rtn
(buffer-substring-no-properties
(point-min)
(point-max))))
- ;; Kill the buffer iff the macro succeeds
+ ;; Kill the buffer iff the macro succeeds.
(kill-buffer)
rtn))
- ;; switch everthing off and restore the buffer
+ ;; Switch everything off and restore the buffer.
(toggle-viper-mode)
(switch-to-buffer before-buffer))))