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
1 changed files with 1 additions and 1 deletions
|
@ -993,7 +993,7 @@ a new object."
|
||||||
(princ (if (cfgl-package-toggled-p pkg t) "on" "off"))
|
(princ (if (cfgl-package-toggled-p pkg t) "on" "off"))
|
||||||
(princ " because the following expression evaluates to ")
|
(princ " because the following expression evaluates to ")
|
||||||
(princ (if (cfgl-package-toggled-p pkg t) "t:\n" "nil:\n"))
|
(princ (if (cfgl-package-toggled-p pkg t) "t:\n" "nil:\n"))
|
||||||
(princ (oref pkg :toggle))
|
(prin1 (oref pkg :toggle))
|
||||||
(princ "\n"))
|
(princ "\n"))
|
||||||
(when (oref pkg :requires)
|
(when (oref pkg :requires)
|
||||||
(princ "\nThis package requires the following packages: ")
|
(princ "\nThis package requires the following packages: ")
|
||||||
|
|
Reference in a new issue