]> git.eshelyaron.com Git - emacs.git/commit
Fix 'srecode-all-template-hash' always returning nil
authorCharalampos Mitrodimas <charmitro@posteo.net>
Sat, 4 May 2024 19:45:15 +0000 (22:45 +0300)
committerEshel Yaron <me@eshelyaron.com>
Fri, 10 May 2024 13:35:06 +0000 (15:35 +0200)
commitb78549423cc2160bfcb545a5cf37ceb7145b8747
tree11ed888b94776d354f34923b9c3a53d263ba9cb7
parent4108f1229f1a04914221aa6d611332cace89046f
Fix 'srecode-all-template-hash' always returning nil

The issue was that the function always returned nil because
the closing parentheses were in the wrong position.  This
meant that the function couldn't give back the data it was
supposed to, making the whole srecode system not work
properly.
By moving the parentheses to the correct place, the function
now returns a hash table with all the templates it finds.
* lisp/cedet/srecode/find.el (srecode-all-template-hash):
Adjusted the position of closing parentheses so that the mhash
variable is returned correctly.  (Bug#70765)

Copyright-paperwork-exempt: yes
(cherry picked from commit e0ca21f9fb82fb27bb6a55a3c07b2ad1492f7680)
lisp/cedet/srecode/find.el