Skip to content

Commit

Permalink
Add rear-nonsticky property for links
Browse files Browse the repository at this point in the history
See GH-240.
  • Loading branch information
jrblevin committed Aug 30, 2017
1 parent 09b1074 commit b163f10
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions markdown-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -7928,6 +7928,7 @@ Otherwise, open with `find-file' after stripping anchor and/or query string."
;; Markup part
(mp (list 'face 'markdown-markup-face
'invisible 'markdown-markup
'rear-nonsticky t
'font-lock-multiline t))
;; Link part
(lp (list 'keymap markdown-mode-mouse-map
Expand Down Expand Up @@ -7966,6 +7967,7 @@ Otherwise, open with `find-file' after stripping anchor and/or query string."
;; Markup part
(mp (list 'face 'markdown-markup-face
'invisible 'markdown-markup
'rear-nonsticky t
'font-lock-multiline t))
;; Link part
(lp (list 'keymap markdown-mode-mouse-map
Expand Down Expand Up @@ -7999,6 +8001,7 @@ Otherwise, open with `find-file' after stripping anchor and/or query string."
;; Markup part
(mp (list 'face 'markdown-markup-face
'invisible 'markdown-markup
'rear-nonsticky t
'font-lock-multiline t))
;; URI part
(up (list 'keymap markdown-mode-mouse-map
Expand All @@ -8018,6 +8021,7 @@ Otherwise, open with `find-file' after stripping anchor and/or query string."
(props (list 'keymap markdown-mode-mouse-map
'face 'markdown-plain-url-face
'mouse-face 'markdown-highlight-face
'rear-nonsticky t
'font-lock-multiline t)))
(add-text-properties start end props)
t)))
Expand Down

0 comments on commit b163f10

Please sign in to comment.