Skip to content

Commit d18bf6b

Browse files
committed
Add buffer passing style to buffer's articles
1 parent 81bc239 commit d18bf6b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.org

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,20 @@ This file also defines macros =thunk-let= and =thunk-let*= that are analogous to
227227
- [[#inserting-strings][Inserting strings]]
228228
- [[#libraries][Libraries]]
229229
:END:
230+
*** Articles :articles:
231+
:PROPERTIES:
232+
:TOC: :depth 0
233+
:END:
234+
235+
**** [[https://nullprogram.com/blog/2014/05/27/][Emacs Lisp Buffer Passing Style]]
236+
:PROPERTIES:
237+
:archive.today: https://archive.ph/Jygil
238+
:END:
239+
240+
Chris Wellons explains how to build strings in several steps. This is
241+
achieved thanks to the creation of a temporary buffer that is passed
242+
to helper methods using the "current" buffer mechanism. A nice and
243+
simple design pattern for Emacs.
230244

231245
*** Best practices :best_practices:
232246
:PROPERTIES:

0 commit comments

Comments
 (0)