aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Riehs <tristan.riehs@bordeaux-inp.fr>2024-03-15 21:41:39 +0100
committerTristan Riehs <tristan.riehs@bordeaux-inp.fr>2024-03-15 21:41:49 +0100
commitedb957147e2e70c7fc2df5e2683e658095deb357 (patch)
treec5f955ff6e3787068230cb6eab3fe7128680cc76
parent7c3d9a8f106f1e954c9ff506aff3f3d0bef594f2 (diff)
Add history support for create-license
-rw-r--r--create-license.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/create-license.el b/create-license.el
index 11b1728..cd7bf11 100644
--- a/create-license.el
+++ b/create-license.el
@@ -62,7 +62,8 @@ The destination file name under DIR is given by
default-directory
(let ((files (directory-files create-license-directory nil "^[^\\.].*")))
(if files
- (completing-read "License: " files nil 'require-match)
+ (completing-read "License: " files nil 'require-match
+ nil 'create-license--hist (car create-license--hist))
nil))))
(if name