New answers tagged quote
0
sgml-mode will not set up the key bindings to insert replacements for ' and " if you set sgml-specials to nil, as long as do that before sgml-mode is loaded.
1
A quoted list doesn't evaluate its args, so it consists of a string, a list containing a symbol and another string. You can selectively evaluate it using backquote and unquote:
`("foo" ,(foobar) "bar") ;=> ("foo" "foobar" "bar")
(string-join `("foo" ,(foobar) "bar") "|") ;=>...
2
The docstring for quote addresses when it should (and shouldn't) be used:
Return the argument, without evaluating it. ‘(quote x)’ yields ‘x’.
Warning: ‘quote’ does not construct its return value, but just returns
the value that was pre-constructed by the Lisp reader (see info node
‘Printed Representation’).
This means that '(a . b) is not identical to (...
Top 50 recent answers are included
Related Tags
quote × 59functions × 10
elisp × 9
org-mode × 8
list × 5
backquote × 5
variables × 4
eval × 4
regular-expressions × 3
debugging × 3
font-lock × 3
symbols × 3
key-bindings × 2
org-babel × 2
hooks × 2
elisp-macros × 2
print × 2
mutability × 2
org-export × 1
latex × 1
fonts × 1
org-table × 1
customize × 1
syntax-highlighting × 1
yasnippet × 1