emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 3aa7cb2 40/60: M-x delete-trailing-whitespace


From: João Távora
Subject: [elpa] master 3aa7cb2 40/60: M-x delete-trailing-whitespace
Date: Thu, 21 Jan 2016 22:36:02 +0000

branch: master
commit 3aa7cb29d49b7d6af37f1c32340ca24b9f0d77de
Author: Sharif Nassar <address@hidden>
Commit: Noam Postavsky <address@hidden>

    M-x delete-trailing-whitespace
    
    * yasnippet.el: delete-trailing-whitespace
    * yasnippet-tests.el: delete-trailing-whitespace
    
    Copyright-paperwork-exempt: yes (trivial)
---
 yasnippet-tests.el |    4 ++--
 yasnippet.el       |   10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/yasnippet-tests.el b/yasnippet-tests.el
index 52f0c39..b71ea7e 100644
--- a/yasnippet-tests.el
+++ b/yasnippet-tests.el
@@ -328,7 +328,7 @@ TODO: correct this bug!"
 
 ;; See issue #497. To understand this test, follow the example of the
 ;; `yas-key-syntaxes' docstring.
-;; 
+;;
 (ert-deftest complicated-yas-key-syntaxes ()
   (with-temp-buffer
     (yas-saving-variables
@@ -736,7 +736,7 @@ TODO: be meaner"
           (should (not (eq (key-binding (yas--read-keybinding "TAB")) 
'yas-expand)))
           (should (eq (key-binding (yas--read-keybinding "SPC")) 
'yas-expand))))
     ;; FIXME: actually should restore to whatever saved values where there.
-    ;; 
+    ;;
     (define-key yas-minor-mode-map [tab] 'yas-expand)
     (define-key yas-minor-mode-map (kbd "TAB") 'yas-expand)
     (define-key yas-minor-mode-map (kbd "SPC") nil)))
diff --git a/yasnippet.el b/yasnippet.el
index adfe88a..ef6a763 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -1750,8 +1750,8 @@ With prefix argument USE-JIT do jit-loading of snippets."
             (funcall fun)))
         ;; Look for buffers that are already in `mode-sym', and so
         ;; need the new snippets immediately...
-        ;; 
-        (when use-jit 
+        ;;
+        (when use-jit
           (cl-loop for buffer in (buffer-list)
                    do (with-current-buffer buffer
                         (when (eq major-mode mode-sym)
@@ -1759,7 +1759,7 @@ With prefix argument USE-JIT do jit-loading of snippets."
                           (push buffer impatient-buffers)))))))
     ;; ...after TOP-LEVEL-DIR has been completely loaded, call
     ;; `yas--load-pending-jits' in these impatient buffers.
-    ;; 
+    ;;
     (cl-loop for buffer in impatient-buffers
              do (with-current-buffer buffer (yas--load-pending-jits))))
   (when interactive
@@ -2225,7 +2225,7 @@ Common gateway for `yas-expand-from-trigger-key' and
                 ;; loops when other extensions use mechanisms similar
                 ;; to `yas--keybinding-beyond-yasnippet'. (github #525
                 ;; and #526)
-                ;; 
+                ;;
                 (yas-minor-mode nil)
                 (beyond-yasnippet (yas--keybinding-beyond-yasnippet)))
            (yas--message 4 "Falling back to %s"  beyond-yasnippet)
@@ -3429,7 +3429,7 @@ progress."
 ;; As of github #537 this no longer inhibits the command by issuing an
 ;; error: all the snippets at point, including nested snippets, are
 ;; automatically commited and the current command can proceed.
-;; 
+;;
 (defun yas--make-move-field-protection-overlays (snippet field)
   "Place protection overlays surrounding SNIPPET's FIELD.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]