branch: externals/auctex
commit 21a725b2c7bd5d6ff48773a1a45332605dbdb8d5
Author: Ikumi Keita <[email protected]>
Commit: Ikumi Keita <[email protected]>
Fix order of arguments
* preview.el.in (preview-make-image): Rearrange the arguments of `get'
in correct order.
Adapt doc string.
---
preview.el.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/preview.el.in b/preview.el.in
index fd92a2c..b73b779 100644
--- a/preview.el.in
+++ b/preview.el.in
@@ -1556,9 +1556,9 @@ display in use.")
(defun preview-make-image (symbol)
"Make an image from a preview spec list.
The first spec that is workable (given the current setting of
-`preview-min-spec') from the given symbol is used here. The
-icon is cached in the property list of the symbol."
- (let ((alist (get 'preview-min-alist symbol)))
+`preview-min-spec') from the given SYMBOL is used here. The
+icon is cached in the property list of the SYMBOL."
+ (let ((alist (get symbol 'preview-min-alist)))
(cdr (or
(assq preview-min-spec alist)
(car (put symbol 'preview-min-alist