[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/htmlize 4920510 134/134: Fix more cl symbols.
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/htmlize 4920510 134/134: Fix more cl symbols. |
Date: |
Sat, 7 Aug 2021 09:17:22 -0400 (EDT) |
branch: elpa/htmlize
commit 49205105898ba8993b5253beec55d8bddd820a70
Author: Hrvoje Niksic <hniksic@gmail.com>
Commit: Hrvoje Niksic <hniksic@gmail.com>
Fix more cl symbols.
---
htmlize.el | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/htmlize.el b/htmlize.el
index a3738c2..f5c6d8a 100644
--- a/htmlize.el
+++ b/htmlize.el
@@ -731,7 +731,7 @@ list."
;; Increase COLUMN by the length of the text we've
;; skipped since last tab or newline. (Encountering
;; newline resets it.)
- (incf column (- match-pos last-match))
+ (cl-incf column (- match-pos last-match))
;; Calculate tab size based on tab-width and COLUMN.
(setq tab-size (- tab-width (% column tab-width)))
;; Expand the tab, carefully recreating the `display'
@@ -741,7 +741,7 @@ list."
(when display
(put-text-property 0 tab-size 'display display expanded-tab))
(push expanded-tab chunks))
- (incf column tab-size)
+ (cl-incf column tab-size)
(setq chunk-start (1+ match-pos)))
(t
;; Reset COLUMN at beginning of line.
@@ -771,7 +771,7 @@ list."
(when htmlize-untabify
(setq text (htmlize-untabify-string text (current-column))))
(setq text (htmlize-string-to-html text))
- (values text trailing-ellipsis)))
+ (cl-values text trailing-ellipsis)))
(defun htmlize-despam-address (string)
"Replace every occurrence of '@' in STRING with %40.
@@ -1241,7 +1241,7 @@ If no rgb.txt file is found, return nil."
;; Uniquify the face's css-name by using NAME-1, NAME-2,
;; etc.
(while (member new-name css-names)
- (setq new-name (format "%s-%s" css-name (incf i))))
+ (setq new-name (format "%s-%s" css-name (cl-incf i))))
(unless (equal new-name css-name)
(setf (htmlize-fstruct-css-name fstruct) new-name))
(push new-name css-names)))))
@@ -1358,7 +1358,7 @@ overlays that specify `face'."
That means that GENERATOR will be evaluated and returned the first time
it's called with the same value of KEY. All other times, the cached
\(memoized) value will be returned."
- (let ((value (gensym)))
+ (let ((value (cl-gensym)))
`(let ((,value (gethash ,key htmlize-memoization-table)))
(unless ,value
(setq ,value ,generator)
@@ -1559,8 +1559,8 @@ it's called with the same value of KEY. All other times,
the cached
(completed nil))
(unwind-protect
(let* ((buffer-faces (htmlize-faces-in-buffer))
- (face-map (htmlize-make-face-map (adjoin 'default
buffer-faces)))
- (places (gensym))
+ (face-map (htmlize-make-face-map (cl-adjoin 'default
buffer-faces)))
+ (places (cl-gensym))
(title (if (buffer-file-name)
(file-name-nondirectory (buffer-file-name))
(buffer-name))))
@@ -1621,7 +1621,7 @@ it's called with the same value of KEY. All other times,
the cached
fstruct-list (delq nil (mapcar (lambda (f)
(gethash f face-map))
face-list)))
- (multiple-value-setq (text trailing-ellipsis)
+ (cl-multiple-value-setq (text trailing-ellipsis)
(htmlize-extract-text (point) next-change trailing-ellipsis))
;; Don't bother writing anything if there's no text (this
;; happens in invisible regions).
- [nongnu] elpa/htmlize 974c169 098/134: Set `lexical-binding' to `t' in the first line of the file., (continued)
- [nongnu] elpa/htmlize 974c169 098/134: Set `lexical-binding' to `t' in the first line of the file., ELPA Syncer, 2021/08/07
- [nongnu] elpa/htmlize 8593a5e 111/134: Put style information in <pre> tags., ELPA Syncer, 2021/08/07
- [nongnu] elpa/htmlize a0b55cb 112/134: Introduced option for styling <pre>, "screenshot" function., ELPA Syncer, 2021/08/07
- [nongnu] elpa/htmlize 133ac35 115/134: Remove XEmacs support., ELPA Syncer, 2021/08/07
- [nongnu] elpa/htmlize 75c21c7 116/134: Use `font-lock-ensure' where available. (#14), ELPA Syncer, 2021/08/07
- [nongnu] elpa/htmlize 315a8f2 121/134: htmlize-sorted-overlays-at: correctly initialize OVERLAYS. (#18), ELPA Syncer, 2021/08/07
- [nongnu] elpa/htmlize e01bb6f 123/134: Bump version., ELPA Syncer, 2021/08/07
- [nongnu] elpa/htmlize d6dc274 125/134: Remove unused function., ELPA Syncer, 2021/08/07
- [nongnu] elpa/htmlize b9789ba 126/134: Don't warn on the use of font-lock-fontify-buffer in older Emacsen., ELPA Syncer, 2021/08/07
- [nongnu] elpa/htmlize 682edbf 130/134: Mention the orgmode mirror., ELPA Syncer, 2021/08/07
- [nongnu] elpa/htmlize 4920510 134/134: Fix more cl symbols.,
ELPA Syncer <=
- [nongnu] elpa/htmlize 7b63aa0 131/134: Bump version., ELPA Syncer, 2021/08/07
- [nongnu] elpa/htmlize 567d55c 124/134: Don't convert ^L to <hr/> in invisible text., ELPA Syncer, 2021/08/07
- [nongnu] elpa/htmlize 8db0aa6 129/134: Remove unnecessary byte-compile warning suppressions., ELPA Syncer, 2021/08/07