mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-23 06:03:07 +03:00
commit
4da8d6dd7b
@ -35,7 +35,7 @@ filename: learn-emacs-lisp.el
|
|||||||
;; Now look at the gray line at the bottom of the window:
|
;; Now look at the gray line at the bottom of the window:
|
||||||
;;
|
;;
|
||||||
;; "*scratch*" is the name of the editing space you are now in.
|
;; "*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.
|
;; The scratch buffer is the default buffer when opening Emacs.
|
||||||
;; You are never editing files: you are editing buffers that you
|
;; You are never editing files: you are editing buffers that you
|
||||||
@ -171,7 +171,7 @@ filename: learn-emacs-lisp.el
|
|||||||
;; Let's format a string:
|
;; Let's format a string:
|
||||||
(format "Hello %s!\n" "visitor")
|
(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.
|
;; \n is the newline character.
|
||||||
|
|
||||||
;; Let's refine our function by using format:
|
;; Let's refine our function by using format:
|
||||||
|
Loading…
Reference in New Issue
Block a user