emacs-diffs
[Top][All Lists]
Advanced

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

master 5a32e5ce48f 2/3: verilog-mode.el: remove impossible cond clause


From: Mattias Engdegård
Subject: master 5a32e5ce48f 2/3: verilog-mode.el: remove impossible cond clause
Date: Fri, 13 Oct 2023 09:38:54 -0400 (EDT)

branch: master
commit 5a32e5ce48f01180603841194881562ee70fa0db
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    verilog-mode.el: remove impossible cond clause
    
    * lisp/progmodes/verilog-mode.el (verilog-set-auto-endcomments):
    Remove can't-happen clause.
---
 lisp/progmodes/verilog-mode.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el
index 855ba4b50cf..2eec4bcd21a 100644
--- a/lisp/progmodes/verilog-mode.el
+++ b/lisp/progmodes/verilog-mode.el
@@ -5374,10 +5374,7 @@ primitive or interface named NAME."
                                 (goto-char (match-end 0))
                                 (setq there (point))
                                 (setq err nil)
-                                (setq str (concat " // " cntx 
(verilog-get-expr))))
-
-                               (;-- otherwise...
-                                (setq str " // auto-endcomment confused "))))
+                                (setq str (concat " // " cntx 
(verilog-get-expr))))))
 
                              ((and
                                (verilog-in-case-region-p) ;-- handle case item 
differently



reply via email to

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