diff options
Diffstat (limited to 'elisp.html.markdown')
-rw-r--r-- | elisp.html.markdown | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/elisp.html.markdown b/elisp.html.markdown index da86cab3..518ad985 100644 --- a/elisp.html.markdown +++ b/elisp.html.markdown @@ -1,7 +1,7 @@ --- language: elisp contributors: - - ["Bastien Guerry", "http://bzg.fr"] + - ["Bastien Guerry", "https://bzg.fr"] - ["Saurabh Sandav", "http://github.com/SaurabhSandav"] filename: learn-emacs-lisp.el --- @@ -9,8 +9,6 @@ filename: learn-emacs-lisp.el ```scheme ;; 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 ;; @@ -194,7 +192,7 @@ filename: learn-emacs-lisp.el ;; And evaluate it: (greeting "you") -;; Some function are interactive: +;; Some functions are interactive: (read-from-minibuffer "Enter your name: ") ;; Evaluating this function returns what you entered at the prompt. @@ -225,6 +223,8 @@ filename: learn-emacs-lisp.el ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; Let's store a list of names: +;; If you want to create a literal list of data, use ' to stop it from +;; being evaluated - literally, "quote" the data. (setq list-of-names '("Sarah" "Chloe" "Mathilde")) ;; Get the first element of this list with `car': @@ -301,7 +301,7 @@ filename: learn-emacs-lisp.el (hello-to-bonjour) -;; Let's colorize the names: +;; Let's boldify the names: (defun boldify-names () (switch-to-buffer-other-window "*test*") @@ -342,13 +342,4 @@ filename: learn-emacs-lisp.el ;; ;; To read an online introduction to Emacs Lisp: ;; https://www.gnu.org/software/emacs/manual/html_node/eintr/index.html - -;; Thanks to these people for their feedback and suggestions: -;; - Wes Hardaker -;; - notbob -;; - Kevin Montuori -;; - Arne Babenhauserheide -;; - Alan Schmitt -;; - LinXitoW -;; - Aaron Meurer ``` |