Skip to content

Commit

Permalink
tweak(elec-pair): don't complete / in Org (annoying when writing paths)
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Dec 2, 2023
1 parent a8c77a7 commit 931f584
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 @@ -1212,7 +1212,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 931f584

Please sign in to comment.