From 07d909018f2436cc7c30dad83c5b4f590af4ea0d Mon Sep 17 00:00:00 2001 From: Chenbo Li Date: Mon, 29 Jul 2013 11:39:18 +0800 Subject: [PATCH 1/4] Fix typos in elisp Fix typos --- elisp.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elisp.html.markdown b/elisp.html.markdown index c99466b6..85a337d6 100644 --- a/elisp.html.markdown +++ b/elisp.html.markdown @@ -35,7 +35,7 @@ filename: learn-emacs-lisp.el ;; Now look at the gray line at the bottom of the window: ;; ;; "*scratch*" is the name of the editing space you are now in. -;: This editing space is called a "buffer". +;; This editing space is called a "buffer". ;; ;; The scratch buffer is the default buffer when opening Emacs. ;; You are never editing files: you are editing buffers that you From 8eca753f715247038faddad88c039866487d3efa Mon Sep 17 00:00:00 2001 From: Chenbo Li Date: Mon, 29 Jul 2013 12:03:15 +0800 Subject: [PATCH 2/4] another semicolon typo --- elisp.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elisp.html.markdown b/elisp.html.markdown index c99466b6..60bff3e8 100644 --- a/elisp.html.markdown +++ b/elisp.html.markdown @@ -75,7 +75,7 @@ filename: learn-emacs-lisp.el ;; `C-j' inserts the result of the evaluation in the buffer. ;; `C-xC-e' displays the same result in Emacs bottom line, -;: called the "minibuffer". We will generally use `C-xC-e', +;; called the "minibuffer". We will generally use `C-xC-e', ;; as we don't want to clutter the buffer with useless text. ;; `setq' stores a value into a variable: From bbde710a40ee25119d8d706886fecd5786182b20 Mon Sep 17 00:00:00 2001 From: Chenbo Li Date: Mon, 29 Jul 2013 12:33:13 +0800 Subject: [PATCH 3/4] typo --- elisp.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elisp.html.markdown b/elisp.html.markdown index 85a337d6..1d76ea88 100644 --- a/elisp.html.markdown +++ b/elisp.html.markdown @@ -171,7 +171,7 @@ filename: learn-emacs-lisp.el ;; Let's format a string: (format "Hello %s!\n" "visitor") -;; %s is a place-holder for a string, replaced by "Alice". +;; %s is a place-holder for a string, replaced by "visitor". ;; \n is the newline character. ;; Let's refine our function by using format: From 6bb7de9295dad79811425874537f2d65c5c46aae Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Mon, 29 Jul 2013 13:29:11 +0200 Subject: [PATCH 4/4] Fix more typos. --- elisp.html.markdown | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/elisp.html.markdown b/elisp.html.markdown index d62a0a49..740d44aa 100644 --- a/elisp.html.markdown +++ b/elisp.html.markdown @@ -6,7 +6,9 @@ filename: learn-emacs-lisp.el --- ```elisp -;; This gives an introduction to Emacs Lisp in 15 minutes (v0.2a) +;; This gives an introduction to Emacs Lisp in 15 minutes (v0.2d) +;; +;; Author: Bastien / @bzg2 / http://bzg.fr ;; ;; First make sure you read this text by Peter Norvig: ;; http://norvig.com/21-days.html @@ -127,7 +129,7 @@ filename: learn-emacs-lisp.el (switch-to-buffer-other-window "*test*") ;; `C-xC-e' -;: => [screen has two windows and cursor is in the *test* buffer] +;; => [screen has two windows and cursor is in the *test* buffer] ;; Mouse over the top window and left-click to go back. Or you can ;; use `C-xo' (i.e. hold down control-x and hit o) to go to the other @@ -138,7 +140,7 @@ filename: learn-emacs-lisp.el (switch-to-buffer-other-window "*test*") (hello "you")) ;; `C-xC-e' -;: => [The screen has two windows and cursor is in the *test* buffer] +;; => [The screen has two windows and cursor is in the *test* buffer] ;; Now if you don't mind, I'll stop asking you to hit `C-xC-e': do it ;; for every sexp that follows. @@ -346,4 +348,6 @@ filename: learn-emacs-lisp.el ;; - Kevin Montuori ;; - Arne Babenhauserheide ;; - Alan Schmitt +;; - LinXitoW +;; - Aaron Meurer ```