Rename org-electric-pairs variable
This commit is contained in:
parent
d703fb5a26
commit
cb914734b1
@ -471,7 +471,7 @@ targets."
|
|||||||
(add-hook 'after-save-hook
|
(add-hook 'after-save-hook
|
||||||
#'(lambda () (if (equal major-mode 'org-mode)
|
#'(lambda () (if (equal major-mode 'org-mode)
|
||||||
(org-babel-tangle))))
|
(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 "/"))
|
(,(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 "+"))
|
||||||
(,(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
|
(add-to-list 'electric-pair-pairs
|
||||||
pair))
|
pair))
|
||||||
(require 'mitch-orgstuff)
|
(require 'mitch-orgstuff)
|
||||||
|
Loading…
Reference in New Issue
Block a user