From 1302857b65b981564b9093914f4b4c12fd17d308 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 23 Dec 2020 19:30:46 -0500 Subject: Drop use of s --- init.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 63d6815..9848cd1 100644 --- a/init.el +++ b/init.el @@ -21,7 +21,6 @@ ;;; Code: (require 'cl-lib) -(require 's) (require 'bind-key) (require 'use-package) @@ -1316,8 +1315,10 @@ (defun km/yas-with-comment (str) (concat comment-start - (unless (s-ends-with? " " comment-start) " ") - str comment-end)) + (and (not (string-suffix-p " " comment-start)) + " ") + str + comment-end)) (defvar km/personal-snippets (file-name-as-directory (expand-file-name "psnippets" -- cgit v1.2.3