diff options
author | Kyle Meyer <kyle@kyleam.com> | 2020-12-23 19:30:46 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2020-12-24 00:25:22 -0500 |
commit | 1302857b65b981564b9093914f4b4c12fd17d308 (patch) | |
tree | 166e7ddb3a156af7c6989fabd3ed76f7b4332384 /init.el | |
parent | 509fb89d06f88364556ad04f6c7b66f395168ded (diff) | |
download | emacs.d-1302857b65b981564b9093914f4b4c12fd17d308.tar.gz |
Drop use of s
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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" |