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

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

[nongnu] elpa/dart-mode 010f557 055/192: changed (ad-do-it) to ad-do-it


From: ELPA Syncer
Subject: [nongnu] elpa/dart-mode 010f557 055/192: changed (ad-do-it) to ad-do-it
Date: Sun, 29 Aug 2021 11:01:49 -0400 (EDT)

branch: elpa/dart-mode
commit 010f557313f9769c12f4c69c8dc92410394cf0e8
Author: Daniel Davidson <dbdavidson@yahoo.com>
Commit: Daniel Davidson <dbdavidson@yahoo.com>

    changed (ad-do-it) to ad-do-it
---
 dart-mode.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dart-mode.el b/dart-mode.el
index 61d265f..a060c5b 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -356,8 +356,7 @@ SYNTAX-GUESS is the output of `c-guess-basic-syntax'."
     (setq ad-return-value nil)))
 
 (defadvice c-search-decl-header-end (around dart-search-decl-header-end 
activate)
-  (if (not (c-major-mode-is 'dart-mode))
-      (ad-do-it)
+  (if (not (c-major-mode-is 'dart-mode)) ad-do-it
     (let ((base (point)))
       (while (and
               (c-syntactic-re-search-forward "[;{=:]" nil 'move t t)
@@ -372,7 +371,7 @@ SYNTAX-GUESS is the output of `c-guess-basic-syntax'."
         (setq base (point)))))))
 
 (defadvice c-parse-state (around dart-c-parse-state activate)
-  (if (not (c-major-mode-is 'dart-mode)) (ad-do-it)
+  (if (not (c-major-mode-is 'dart-mode)) ad-do-it
     ;; c-parse-state is a wrapper around c-parse-state-1 that does some tricks
     ;; to ensure that dangling brackets in preprocessor commands don't screw up
     ;; parse information for the real world. In Dart, all "preprocessor"



reply via email to

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