]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix more lexical-binding fallout in vhdl-speedbar-insert-hierarchy
authorGonzalo Larumbe <gonzalomlarumbe@gmail.com>
Sun, 21 Aug 2022 23:29:08 +0000 (01:29 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 21 Aug 2022 23:29:08 +0000 (01:29 +0200)
* lisp/progmodes/vhdl-mode.el (vhdl-speedbar-insert-hierarchy):
Check the input arguments, not the dynamically bound `end-arglist'
(bug#57327).

lisp/progmodes/vhdl-mode.el

index 39c5eb453b19c7ca49ea51b6602612446abddf6b..18219db740be77075e9ecf9278a92446714884cf 100644 (file)
@@ -14958,8 +14958,8 @@ otherwise use cached data."
 
 (defun vhdl-speedbar-insert-hierarchy ( ent-alist-arg conf-alist-arg
                                         package-alist ent-inst-list depth)
-  "Insert hierarchy of ENT-ALIST, CONF-ALIST, and PACKAGE-ALIST."
-  (if (not (or ent-alist conf-alist package-alist))
+  "Insert hierarchy of ENT-ALIST-ARG, CONF-ALIST-ARG, and PACKAGE-ALIST."
+  (if (not (or ent-alist-arg conf-alist-arg package-alist))
       (vhdl-speedbar-make-title-line "No VHDL design units!" depth)
     (let ((ent-alist ent-alist-arg)
           (conf-alist conf-alist-arg)