branch: main
commit c83f31ca88aa61b5a46108e36ebec3b87a8a702e
Author: Al Haji-Ali <[email protected]>
Commit: Arash Esbati <[email protected]>
; Improve last change
* NEWS.org (Changed): Record changes related to
`preview-dumped-alist' and `preview-watch-preamble'.
* preview.el (preview-watch-preamble): Add missing documentation
for optional argument.
---
NEWS.org | 5 +++++
preview.el | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/NEWS.org b/NEWS.org
index d17064e0..d16d9a85 100644
--- a/NEWS.org
+++ b/NEWS.org
@@ -17,6 +17,11 @@
- Add new support file =style/fontawesome7.el=.
+** Changed
+
+- Change the format of the value stored in ~preview-dumped-alist~. Add
+ a new optional argument to the function ~preview-watch-preamble~.
+
* [14.1.0] - 2025-07-11
** Added
diff --git a/preview.el b/preview.el
index fc0b7566..840cf138 100644
--- a/preview.el
+++ b/preview.el
@@ -1902,8 +1902,8 @@ definition of OV, AFTER-CHANGE, BEG, END and LENGTH."
"Set up a watch on master file FILE.
FILE can be an associated buffer instead of a filename.
COMMAND is the command that generated the format.
-FORMAT-CONS contains the format info for the main
-format dump handler."
+FORMAT-CONS contains the format info for the main format dump handler.
+OUT-FILE replaces FILE to determine the dump-files, if non-nil."
(let ((buffer (if (bufferp file)
file
(find-buffer-visiting file)))