[Fix #2363] Fix inputting backtick and single quote in markdown mode

Not sure why that part of code was introduced in the first place but it seems to no longer work with the newest
packages. Both backtick and quote behaviors were a kind of broken. Removing the code makes them normal again. And there
seems to be nothing wrong with Github code blocks.
This commit is contained in:
Xiang Ji 2015-08-01 22:35:57 +08:00 committed by syl20bnr
parent 706115fc0e
commit 3258186df2

View file

@ -23,10 +23,6 @@
:defer t
:init (add-hook 'markdown-mode-hook 'smartparens-mode)
:config
;; Don't do terrible things with Github code blocks (```)
(when (fboundp 'sp-local-pair)
(sp-local-pair 'markdown-mode "`" nil :actions '(:rem autoskip))
(sp-local-pair 'markdown-mode "'" nil :actions nil))
(progn
;; Insert key for org-mode and markdown a la C-h k
;; from SE endless http://emacs.stackexchange.com/questions/2206/i-want-to-have-the-kbd-tags-for-my-blog-written-in-org-mode/2208#2208