diff options
author | Adam <adam@adambard.com> | 2013-07-29 10:33:45 -0700 |
---|---|---|
committer | Adam <adam@adambard.com> | 2013-07-29 10:33:45 -0700 |
commit | f6e87835cf5c1602f5f19c02eebccf325d7bd309 (patch) | |
tree | c226f2674939ffb8341dab4e9ce6188467367c71 | |
parent | 09eadbb8951c3404c893e669ae2c4c5e6ad947cb (diff) | |
parent | 6bb7de9295dad79811425874537f2d65c5c46aae (diff) |
Merged Bastien's changes
-rw-r--r-- | elisp.html.markdown | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/elisp.html.markdown b/elisp.html.markdown index c7699d5b..d3910759 100644 --- a/elisp.html.markdown +++ b/elisp.html.markdown @@ -6,7 +6,9 @@ filename: learn-emacs-lisp.el --- ```scheme -;; 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 @@ -35,7 +37,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 @@ -75,7 +77,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: @@ -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. @@ -171,7 +173,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: @@ -346,4 +348,6 @@ filename: learn-emacs-lisp.el ;; - Kevin Montuori ;; - Arne Babenhauserheide ;; - Alan Schmitt +;; - LinXitoW +;; - Aaron Meurer ``` |