summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsh-ow <sh-ow@users.noreply.github.com>2016-04-14 01:32:18 +0200
committersh-ow <sh-ow@users.noreply.github.com>2016-04-14 01:32:18 +0200
commit00530f9dd5c174dc85a690edd234c648cc87bf5a (patch)
treed551004adc2682dac5aaf8b11b70ea501a5d94a2
parent4c0e664618862abb0e92b501a89408d6d7622a73 (diff)
prog-mode: another indentation fix
-rw-r--r--prog-mode/.yas-setup.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/prog-mode/.yas-setup.el b/prog-mode/.yas-setup.el
index 3444aa4..6336004 100644
--- a/prog-mode/.yas-setup.el
+++ b/prog-mode/.yas-setup.el
@@ -11,8 +11,8 @@
(defun yas-s-trim-right (s)
"Remove whitespace at the end of S."
(if (string-match "[ \t\n\r]+\\'" s)
- (replace-match "" t t s)
- s))
+ (replace-match "" t t s)
+ s))
(defun yas-s-trim (s)
"Remove whitespace at the beginning and end of S."
@@ -22,8 +22,8 @@
(defun yas-string-reverse (str)
"Reverse a string STR manually to be compatible with emacs versions < 25."
(apply #'string
- (reverse
- (string-to-list str))))
+ (reverse
+ (string-to-list str))))
(defun yas-trimmed-comment-start ()
"This function returns `comment-start' trimmed by whitespaces."
@@ -33,5 +33,5 @@
"This function returns `comment-end' trimmed by whitespaces if `comment-end' is not empty.
Otherwise the reversed output of function `yas-trimmed-comment-start' is returned."
(if (eq (length comment-end) 0)
- (yas-string-reverse (yas-trimmed-comment-start))
- (yas-s-trim comment-end)))
+ (yas-string-reverse (yas-trimmed-comment-start))
+ (yas-s-trim comment-end)))