From: Mark Wooding Date: Fri, 15 Jan 2016 22:43:53 +0000 (+0000) Subject: Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/200cf428d8a550f520123f7d3bcb0a17f76e3472?hp=d87d78675e365d037eac3a02264be852a8881a53 Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile * 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile: bin/mdw-build: Add a `native' option. bin/mdw-build: Allow configuration of the `setup' command. bin/mdw-build: `nocommit' isn't a special case. git/attributes: Don't put tabs in TeX files. dot/e16-bindings: Set cursor shape; repaint display. --- diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 2fb1520..d657295 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -226,6 +226,13 @@ (defmacro mdw-advise-to-inhibit-raise-frame (function) (mdw-advise-to-inhibit-raise-frame select-frame-set-input-focus) +;; Bug fix for markdown-mode, which breaks point positioning during +;; `query-replace'. +(defadvice markdown-check-change-for-wiki-link + (around mdw-save-match activate compile) + "Save match data around the `markdown-mode' `after-change-functions' hook." + (save-match-data ad-do-it)) + ;; Transient mark mode hacks. (defadvice exchange-point-and-mark