[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master bcdcbe3 3/6: Fix some whitespace and warnings
From: |
Artur Malabarba |
Subject: |
[elpa] master bcdcbe3 3/6: Fix some whitespace and warnings |
Date: |
Wed, 14 Oct 2015 12:09:23 +0000 |
branch: master
commit bcdcbe37b5475a7816fced374926b8b2b43076a1
Author: Artur Malabarba <address@hidden>
Commit: Artur Malabarba <address@hidden>
Fix some whitespace and warnings
---
sotlisp.el | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/sotlisp.el b/sotlisp.el
index a622428..2594c56 100644
--- a/sotlisp.el
+++ b/sotlisp.el
@@ -80,7 +80,6 @@
;;
;; (with-temp-buffer (insert text))
-
;;; Code:
;;; Predicates
@@ -452,7 +451,7 @@ If `speed-of-thought-mode' is already on, call ON."
nil nil " SoT"
`(([M-return] . sotlisp-newline-and-parentheses)
([C-return] . sotlisp-downlist-newline-and-parentheses)
- (,(kbd "C-M-;") . ,(if (boundp 'comment-or-uncomment-sexp)
+ (,(kbd "C-M-;") . ,(if (fboundp 'comment-or-uncomment-sexp)
#'comment-or-uncomment-sexp
#'sotlisp-comment-or-uncomment-sexp))
("\C-cf" . sotlisp-find-or-define-function)
@@ -521,8 +520,9 @@ removes hooks and abbrevs."
"`push-mark' and move above this defun."
(push-mark)
(beginning-of-defun)
- (when (looking-back "^;;;###autoload\\s-*\n")
- (forward-line -1)))
+ (forward-line -1)
+ (unless (looking-at "^;;;###autoload\\s-*\n")
+ (forward-line 1)))
(defun sotlisp--function-at-point ()
"Return name of `function-called-at-point'."
@@ -692,4 +692,3 @@ With a prefix argument N, (un)comment that many sexps."
(provide 'sotlisp)
;;; sotlisp.el ends here
-
- [elpa] master updated (1254161 -> 957733f), Artur Malabarba, 2015/10/14
- [elpa] master 7939a11 1/6: Fix author email, Artur Malabarba, 2015/10/14
- [elpa] master 2841c44 5/6: Copyright, Artur Malabarba, 2015/10/14
- [elpa] master 1a16cf8 2/6: Add a few more abbrevs, suggested by Oleh, Artur Malabarba, 2015/10/14
- [elpa] master bcdcbe3 3/6: Fix some whitespace and warnings,
Artur Malabarba <=
- [elpa] master 6e0ebc9 4/6: Version bump, Artur Malabarba, 2015/10/14
- [elpa] master 957733f 6/6: Merge commit '2841c4413eceed257c7f79ab0d47d2034d472391', Artur Malabarba, 2015/10/14