Skip to content

Commit

Permalink
tweak(elec-pair): don't pair * in Org mode
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Nov 22, 2023
1 parent b52cdc0 commit c466e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/me-builtin.el
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@ current line.")
(setq-local electric-pair-pairs (append electric-pair-pairs (alist-get major-mode +electric-pair-mode-pairs-alist))))

(defvar +electric-pair-mode-pairs-alist
'((org-mode . ((?= . ?=) (?~ . ?~) (?* . ?*) (?/ . ?/) (?` . ?')))
'((org-mode . ((?= . ?=) (?~ . ?~) (?/ . ?/) (?` . ?')))
(markdown-mode . ((?` . ?`) (?* . ?*)))))

;; Add the hooks to the concerned modes
Expand Down

0 comments on commit c466e01

Please sign in to comment.