Rename org-electric-pairs variable

This commit is contained in:
MitchMarq42 2022-11-02 13:31:59 -08:00
parent d703fb5a26
commit cb914734b1

View File

@ -471,7 +471,7 @@ targets."
(add-hook 'after-save-hook
#'(lambda () (if (equal major-mode 'org-mode)
(org-babel-tangle))))
(setq electric-pair-org-pairs `(
(defvar org-electric-pairs `(
(,(string-to-char "_") . ,(string-to-char "_"))
(,(string-to-char "/") . ,(string-to-char "/"))
(,(string-to-char "*") . ,(string-to-char "*"))
@ -479,7 +479,7 @@ targets."
(,(string-to-char "+") . ,(string-to-char "+"))
(,(string-to-char "=") . ,(string-to-char "="))))
(dolist (pair electric-pair-org-pairs)
(dolist (pair org-electric-pairs)
(add-to-list 'electric-pair-pairs
pair))
(require 'mitch-orgstuff)