diff --git a/yasnippet.el b/yasnippet.el index a8a3bbb..760b224 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -1493,7 +1493,7 @@ Here's a list of currently recognized directives: expand-env binding uuid) - (if (re-search-forward "^# --\n" nil t) + (if (re-search-forward "^# --\\s-*\n" nil t) (progn (setq template (buffer-substring-no-properties (point) (point-max)))