3
如何知道何时或何时不使用变量名前的单引号?
我有以下内容: (setq some-variable "less") 我很困惑为什么必须将单引号与一起使用,boundp而不将其与一起使用bound-and-true-p。 范例1: (when (boundp 'some-variable) (message "some-variable is %s" some-variable)) 结果: “多变少” 示例2a: (when (bound-and-true-p some-variable) ;; Note that using single-quote causes error (message "some-variable is %s" some-variable)) 结果: “多变少” 示例2b: (when (bound-and-true-p 'some-variable) ;; Note that using single-quote causes error (message "some-variable is %s" some-variable)) …