branch: externals/matlab-mode
commit e16a5c4ada02fb319fb1f6902336319c7d94e677
Author: John Ciolfi <john.ciolfi...@gmail.com>
Commit: John Ciolfi <john.ciolfi...@gmail.com>

    matlab-syntax.el: comment out the edebug-setup-hook
    
    With the hook active, we get an error about def-body when we edebug-defun on
    matlab-calculate-indentation
---
 matlab-syntax.el | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/matlab-syntax.el b/matlab-syntax.el
index 676b223755..047e3b7659 100644
--- a/matlab-syntax.el
+++ b/matlab-syntax.el
@@ -118,9 +118,11 @@ Does not work well in classes with properties with 
datatypes.")
                    (cons 'progn forms))
              '(set-syntax-table oldsyntax))))
 
-(add-hook 'edebug-setup-hook
-         (lambda ()
-           (def-edebug-spec matlab-navigation-syntax def-body)))
+;; Using Emacs 30.1 and edebug-defun on matlab-calculate-indentation causes an 
error about
+;; def-body when the following exists. Thus, commenting this out for now.
+;;   (add-hook 'edebug-setup-hook
+;;             (lambda ()
+;;               (def-edebug-spec matlab-navigation-syntax def-body)))
 
 ;;; Buffer Scanning for Syntax Table Augmentation
 ;;

Reply via email to