rhkra...@gmail.com [2019-03-28 12:00:44-04] wrote: > I think I got the gist of most of it, but I don't understand why the > double parenthesis around "((inhibit-read-only t))"?
"let" is a special operator which creates new variable bindings. The syntax is like this: (let list-of-variable-bindings code-forms) And each bindings is in the form of (variable value): (let ((variable1 value1) (variable2 value2) (variable3 value3) ;; ... (variable-n value-n)) ;; Code that may use those variable bindings. ) So logically if there is only one variable binding it looks like this: (let ((variable value)) ;; code ) Here's a link to Common Lisp specification about LET and LET* special operator. Emacs Lisp is different Lisp dialect but it's often quite close to Common Lisp. http://www.lispworks.com/documentation/HyperSpec/Body/s_let_l.htm -- /// Teemu Likonen - .-.. <https://keybase.io/tlikonen> // // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///
signature.asc
Description: PGP signature