]> code.delx.au - gnu-emacs-elpa/commit
Avoid bug in insert-file-contents with REPLACE=t
authorNoam Postavsky <npostavs@users.sourceforge.net>
Tue, 31 May 2016 00:21:19 +0000 (20:21 -0400)
committerNoam Postavsky <npostavs@users.sourceforge.net>
Tue, 31 May 2016 00:21:19 +0000 (20:21 -0400)
commite23a053b0041e4f615649b7acf8c1b2ce35fd3fb
tree9ce4598460fc509b01ab2f28f5dc7f69c3174715
parent47dbe93d86e94f60027d45a2de5e9735fb8357d0
Avoid bug in insert-file-contents with REPLACE=t

* yasnippet.el (yas--load-directory-2): Call `erase-buffer' before
`insert-file-contents' instead of passing non-nil REPLACE, avoids Emacs
bug #23659.

Fixes #707.
yasnippet.el