Skip to content

How to check for the states of buffer-local variables in Emacs Lisp?

;; M-x pp-eval-expression
(buffer-local-variables)
;; major-mode
;; buffer-read-only