Commit 527b8a80 authored by Bruno Félix Rezende Ribeiro's avatar Bruno Félix Rezende Ribeiro Committed by Lars Ingebrigtsen

* doc/lispref/os.texi (Session Management): Make example homoiconic

* doc/lispref/os.texi (Session Management): Don't insert Lisp as
strings, but use format (bug#40341).

Copyright-paperwork-exempt: yes
parent 2e669305
......@@ -2687,9 +2687,10 @@ Emacs is restarted by the session manager.
(defun save-yourself-test ()
(insert "(save-current-buffer
(switch-to-buffer \"*scratch*\")
(insert \"I am restored\"))")
(format "%S" '(save-current-buffer
(switch-to-buffer "*scratch*")
(insert "I am restored"))))
@end group
@end example
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment