In SPC h d P, print :toggle expression using Elisp syntax
This prints out an expression in valid Lisp syntax, so that, e.g., strings in the expression are quoted.
This commit is contained in:
parent
8f1b6b1e04
commit
454e729ef0
|
@ -993,7 +993,7 @@ a new object."
|
|||
(princ (if (cfgl-package-toggled-p pkg t) "on" "off"))
|
||||
(princ " because the following expression evaluates to ")
|
||||
(princ (if (cfgl-package-toggled-p pkg t) "t:\n" "nil:\n"))
|
||||
(princ (oref pkg :toggle))
|
||||
(prin1 (oref pkg :toggle))
|
||||
(princ "\n"))
|
||||
(when (oref pkg :requires)
|
||||
(princ "\nThis package requires the following packages: ")
|
||||
|
|
Loading…
Reference in New Issue