mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-12 09:44:24 +02:00
@@ -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:
|
||||||
|
Reference in New Issue
Block a user