Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion yasnippet.el
Original file line number Diff line number Diff line change
Expand Up @@ -2682,7 +2682,7 @@ NO-TEMPLATE is non-nil."
(set (make-local-variable 'default-directory)
(car (cdr (car guessed-directories))))
(if (and (not no-template) yas-new-snippet-default)
(yas-expand-snippet yas-new-snippet-default))))
(yas-expand-snippet yas-new-snippet-default nil nil '((yas-wrap-around-region nil))))))

(defun yas--compute-major-mode-and-parents (file)
"Given FILE, find the nearest snippet directory for a given mode.
Expand Down