Emacs has a built-in package called time-stamp
that automatically updates the modification date of a file upon save.
Setup of the comment headers is required so that they are recognized properly.
Check the values of the following customizable variables:
verilog-ext-time-stamp-enable
verilog-ext-time-stamp-regex
"^// Last modified : "
as generated by verilog-ext-templ-header
and verilog-header
verilog-ext-time-stamp-pattern
verilog-ext-time-stamp-regex
this one needs to be updated accordingly, e.g:
(setq verilog-ext-time-stamp-pattern (concat verilog-ext-time-stamp-regex "%%$"))
By default time-stamp
looks for the pattern in the first 8 lines. This can be changed by setting the local variables verilog-ext-time-stamp-start
and verilog-ext-time-stamp-end
for custom scenarios.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4