diff options
| author | Stefan Kangas | 2025-02-22 19:06:11 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2025-02-23 00:38:22 +0100 |
| commit | 9d7d4db7eb3398e754872f4c82d3d2071ae10fb2 (patch) | |
| tree | 5ca33790e629932b1cdbcf6305071c1eb41f4cc1 | |
| parent | 95fee880e45184f4820e9704b75887ef2d91bd01 (diff) | |
| download | emacs-9d7d4db7eb3398e754872f4c82d3d2071ae10fb2.tar.gz emacs-9d7d4db7eb3398e754872f4c82d3d2071ae10fb2.zip | |
Prefer decf to cl-decf
* lisp/auth-source-pass.el (auth-source-pass--find-match-many):
* lisp/calendar/time-date.el (decoded-time-add)
(decoded-time--alter-month, decoded-time--alter-day):
* lisp/dired.el (dired--move-to-next-line):
* lisp/dom.el (dom-pp):
* lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
* lisp/emacs-lisp/cl-print.el (cl-print-to-string-with-limit):
* lisp/emacs-lisp/cl-seq.el (cl-fill, cl-replace, cl-substitute):
* lisp/emacs-lisp/comp-cstr.el (comp--range-union)
(comp--range-intersection):
* lisp/emacs-lisp/comp.el (comp-vec-prepend, comp--emit-narg-prologue):
* lisp/emacs-lisp/edebug.el (edebug--strip-instrumentation):
* lisp/emacs-lisp/eldoc.el (eldoc--invoke-strategy):
* lisp/emacs-lisp/pp.el (pp--format-definition):
* lisp/emacs-lisp/smie.el (smie-config--guess-1):
* lisp/eshell/esh-io.el (eshell-close-handle, eshell-set-output-handle):
* lisp/gnus/gnus-async.el (gnus-async-prefetch-article):
* lisp/gnus/gnus-group.el (gnus-group-mark-group)
(gnus-group-yank-group):
* lisp/gnus/gnus-salt.el (gnus-tree-forward-line):
* lisp/gnus/gnus-score.el (gnus-decay-scores):
* lisp/gnus/gnus-srvr.el (gnus-browse-toggle-subscription-at-point):
* lisp/gnus/gnus-sum.el (gnus-build-sparse-threads, gnus-parent-headers)
(gnus-update-marks, gnus-summary-work-articles)
(gnus-summary-refer-parent-article, gnus-summary-next-thread)
(gnus-read-header, gnus-summary-insert-new-articles):
* lisp/gnus/gnus-topic.el (gnus-topic-forward-topic):
* lisp/gnus/gnus.el (gnus-short-group-name):
* lisp/gnus/message.el (message-remove-first-header)
(message-shorten-references, message-insert-screenshot):
* lisp/gnus/mm-url.el (mm-url-insert):
* lisp/gnus/nnselect.el (nnselect-push-info):
* lisp/ibuffer.el (ibuffer-backward-line, ibuffer-forward-line)
(ibuffer-map-lines):
* lisp/icomplete.el (icomplete--render-vertical):
* lisp/image/image-dired-external.el (image-dired-create-thumb-1):
* lisp/image/image-dired.el (image-dired-delete-char):
* lisp/mail/ietf-drums-date.el (ietf-drums-date--tokenize-string):
* lisp/mh-e/mh-utils.el (mh-sub-folders-parse):
* lisp/minibuffer.el (minibuffer-completion-help):
* lisp/mpc.el (mpc-cmd-move, mpc-songpointer-refresh-hairy):
* lisp/net/eww.el (eww-process-text-input):
* lisp/net/pop3.el (pop3-wait-for-messages, pop3-uidl-stat)
(pop3-uidl-dele):
* lisp/net/shr-color.el (shr-color-hue-to-rgb):
* lisp/play/5x5.el (5x5-up, 5x5-left):
* lisp/play/decipher.el (decipher-read-alphabet, decipher--digram-total)
(decipher-analyze-buffer):
* lisp/play/hanoi.el (hanoi-insert-ring, hanoi-move-ring):
* lisp/profiler.el (profiler-format-number)
(profiler-calltree-build-unified):
* lisp/progmodes/antlr-mode.el (antlr-next-rule, antlr-indent-line):
* lisp/progmodes/c-ts-common.el (c-ts-common-statement-offset):
* lisp/progmodes/ebrowse.el
(ebrowse-cyclic-display-next/previous-member-list):
* lisp/progmodes/hideif.el (hif-backward-comment):
* lisp/progmodes/js.el (js-beginning-of-defun, js-end-of-defun)
(js-ts--syntax-propertize):
* lisp/progmodes/typescript-ts-mode.el
(tsx-ts--syntax-propertize-captures):
* lisp/rect.el (rectangle--*-char):
* lisp/term.el (term-emulate-terminal):
* lisp/textmodes/reftex-cite.el (reftex-do-citation):
* lisp/textmodes/reftex-index.el (reftex-index-next-phrase):
* lisp/textmodes/reftex-parse.el (reftex-init-section-numbers):
* lisp/textmodes/reftex-sel.el (reftex-select-unmark):
* lisp/textmodes/reftex.el (reftex-silence-toc-markers):
* lisp/treesit.el (treesit-navigate-thing):
* lisp/vc/diff-mode.el (diff-sanity-check-context-hunk-half,
(diff-sanity-check-hunk):
* lisp/vc/pcvs-util.el (cvs-first):
* lisp/vc/smerge-mode.el (smerge-get-current):
* lisp/vc/vc-hg.el (vc-hg--glob-to-pcre):
* test/lisp/net/socks-tests.el
(socks-tests-perform-hello-world-http-request):
* test/src/buffer-tests.el (test-overlay-randomly): Prefer decf to
cl-defc in all code where we can.
60 files changed, 112 insertions, 112 deletions
diff --git a/lisp/auth-source-pass.el b/lisp/auth-source-pass.el index c23ef59f8e4..e68a3e9129e 100644 --- a/lisp/auth-source-pass.el +++ b/lisp/auth-source-pass.el | |||
| @@ -314,13 +314,13 @@ HOSTS can be a string or a list of strings." | |||
| 314 | ,@(and secret (not (eq secret t)) (list :secret secret))) | 314 | ,@(and secret (not (eq secret t)) (list :secret secret))) |
| 315 | (if (setq suffixedp (plist-get m :suffix)) suffixed out)) | 315 | (if (setq suffixedp (plist-get m :suffix)) suffixed out)) |
| 316 | (unless suffixedp | 316 | (unless suffixedp |
| 317 | (when (or (zerop (cl-decf max)) | 317 | (when (or (zerop (decf max)) |
| 318 | (null (setq entries (delete e entries)))) | 318 | (null (setq entries (delete e entries)))) |
| 319 | (throw 'done out))))) | 319 | (throw 'done out))))) |
| 320 | (setq suffixed (nreverse suffixed)) | 320 | (setq suffixed (nreverse suffixed)) |
| 321 | (while suffixed | 321 | (while suffixed |
| 322 | (push (pop suffixed) out) | 322 | (push (pop suffixed) out) |
| 323 | (when (zerop (cl-decf max)) | 323 | (when (zerop (decf max)) |
| 324 | (throw 'done out)))))))))) | 324 | (throw 'done out)))))))))) |
| 325 | 325 | ||
| 326 | (defun auth-source-pass--disambiguate (host &optional user port) | 326 | (defun auth-source-pass--disambiguate (host &optional user port) |
diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el index 1c8b27cf19e..959c4f17571 100644 --- a/lisp/calendar/time-date.el +++ b/lisp/calendar/time-date.el | |||
| @@ -561,7 +561,7 @@ changes in daylight saving time are not taken into account." | |||
| 561 | (days (abs days))) | 561 | (days (abs days))) |
| 562 | (while (> days 0) | 562 | (while (> days 0) |
| 563 | (decoded-time--alter-day time increase) | 563 | (decoded-time--alter-day time increase) |
| 564 | (cl-decf days)))) | 564 | (decf days)))) |
| 565 | 565 | ||
| 566 | ;; Do the time part, which is pretty simple (except for leap | 566 | ;; Do the time part, which is pretty simple (except for leap |
| 567 | ;; seconds, I guess). | 567 | ;; seconds, I guess). |
| @@ -585,10 +585,10 @@ changes in daylight saving time are not taken into account." | |||
| 585 | (when (> (decoded-time-month time) 12) | 585 | (when (> (decoded-time-month time) 12) |
| 586 | (setf (decoded-time-month time) 1) | 586 | (setf (decoded-time-month time) 1) |
| 587 | (cl-incf (decoded-time-year time)))) | 587 | (cl-incf (decoded-time-year time)))) |
| 588 | (cl-decf (decoded-time-month time)) | 588 | (decf (decoded-time-month time)) |
| 589 | (when (zerop (decoded-time-month time)) | 589 | (when (zerop (decoded-time-month time)) |
| 590 | (setf (decoded-time-month time) 12) | 590 | (setf (decoded-time-month time) 12) |
| 591 | (cl-decf (decoded-time-year time))))) | 591 | (decf (decoded-time-year time))))) |
| 592 | 592 | ||
| 593 | (defun decoded-time--alter-day (time increase) | 593 | (defun decoded-time--alter-day (time increase) |
| 594 | "Increase or decrease the day in TIME by 1." | 594 | "Increase or decrease the day in TIME by 1." |
| @@ -600,7 +600,7 @@ changes in daylight saving time are not taken into account." | |||
| 600 | (decoded-time-month time))) | 600 | (decoded-time-month time))) |
| 601 | (setf (decoded-time-day time) 1) | 601 | (setf (decoded-time-day time) 1) |
| 602 | (decoded-time--alter-month time t))) | 602 | (decoded-time--alter-month time t))) |
| 603 | (cl-decf (decoded-time-day time)) | 603 | (decf (decoded-time-day time)) |
| 604 | (when (zerop (decoded-time-day time)) | 604 | (when (zerop (decoded-time-day time)) |
| 605 | (decoded-time--alter-month time nil) | 605 | (decoded-time--alter-month time nil) |
| 606 | (setf (decoded-time-day time) | 606 | (setf (decoded-time-day time) |
diff --git a/lisp/dired.el b/lisp/dired.el index e3c686270ac..90a70b057ec 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -2947,7 +2947,7 @@ is controlled by `dired-movement-style'." | |||
| 2947 | (unless (dired-between-files) | 2947 | (unless (dired-between-files) |
| 2948 | ;; Has moved to a non-empty line. This movement does | 2948 | ;; Has moved to a non-empty line. This movement does |
| 2949 | ;; make sense. | 2949 | ;; make sense. |
| 2950 | (cl-decf arg moving-down)) | 2950 | (decf arg moving-down)) |
| 2951 | (setq old-position (point))))) | 2951 | (setq old-position (point))))) |
| 2952 | 2952 | ||
| 2953 | (defun dired-previous-line (arg) | 2953 | (defun dired-previous-line (arg) |
diff --git a/lisp/dom.el b/lisp/dom.el index 4d904c92de9..5de9cdb1302 100644 --- a/lisp/dom.el +++ b/lisp/dom.el | |||
| @@ -234,7 +234,7 @@ white-space." | |||
| 234 | (insert "(") | 234 | (insert "(") |
| 235 | (dolist (elem attr) | 235 | (dolist (elem attr) |
| 236 | (insert (format "(%S . %S)" (car elem) (cdr elem))) | 236 | (insert (format "(%S . %S)" (car elem) (cdr elem))) |
| 237 | (if (zerop (cl-decf times)) | 237 | (if (zerop (decf times)) |
| 238 | (insert ")") | 238 | (insert ")") |
| 239 | (insert "\n" (make-string column ?\s)))))) | 239 | (insert "\n" (make-string column ?\s)))))) |
| 240 | (let* ((children (if remove-empty | 240 | (let* ((children (if remove-empty |
| @@ -254,7 +254,7 @@ white-space." | |||
| 254 | (string-match "\\`[\n\r\t  ]*\\'" child))) | 254 | (string-match "\\`[\n\r\t  ]*\\'" child))) |
| 255 | (insert (format "%S" child))) | 255 | (insert (format "%S" child))) |
| 256 | (dom-pp child remove-empty)) | 256 | (dom-pp child remove-empty)) |
| 257 | (if (zerop (cl-decf times)) | 257 | (if (zerop (decf times)) |
| 258 | (insert ")") | 258 | (insert ")") |
| 259 | (insert "\n" (make-string (1+ column) ?\s)))))))) | 259 | (insert "\n" (make-string (1+ column) ?\s)))))))) |
| 260 | 260 | ||
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index 2712dae0d5e..0682a162422 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el | |||
| @@ -336,7 +336,7 @@ FORM is of the form (ARGS . BODY)." | |||
| 336 | (format "%S" (cons 'fn (cl--make-usage-args | 336 | (format "%S" (cons 'fn (cl--make-usage-args |
| 337 | orig-args)))))))) | 337 | orig-args)))))))) |
| 338 | (when (memq '&optional simple-args) | 338 | (when (memq '&optional simple-args) |
| 339 | (cl-decf slen)) | 339 | (decf slen)) |
| 340 | (setq header | 340 | (setq header |
| 341 | (cons | 341 | (cons |
| 342 | (if (eq :documentation (car-safe (car header))) | 342 | (if (eq :documentation (car-safe (car header))) |
diff --git a/lisp/emacs-lisp/cl-print.el b/lisp/emacs-lisp/cl-print.el index 5af34361b92..427f32862b2 100644 --- a/lisp/emacs-lisp/cl-print.el +++ b/lisp/emacs-lisp/cl-print.el | |||
| @@ -636,10 +636,10 @@ abbreviating it with ellipses to fit within a size limit." | |||
| 636 | (throw 'done (buffer-string))) | 636 | (throw 'done (buffer-string))) |
| 637 | (let* ((ratio (/ result limit)) | 637 | (let* ((ratio (/ result limit)) |
| 638 | (delta-level (max 1 (min (- print-level 2) ratio)))) | 638 | (delta-level (max 1 (min (- print-level 2) ratio)))) |
| 639 | (cl-decf print-level delta-level) | 639 | (decf print-level delta-level) |
| 640 | (cl-decf print-length (* delta-length delta-level)) | 640 | (decf print-length (* delta-length delta-level)) |
| 641 | (when cl-print-string-length | 641 | (when cl-print-string-length |
| 642 | (cl-decf cl-print-string-length | 642 | (decf cl-print-string-length |
| 643 | (ceiling cl-print-string-length 4.0)))))))))) | 643 | (ceiling cl-print-string-length 4.0)))))))))) |
| 644 | 644 | ||
| 645 | (provide 'cl-print) | 645 | (provide 'cl-print) |
diff --git a/lisp/emacs-lisp/cl-seq.el b/lisp/emacs-lisp/cl-seq.el index 651de6c4d47..e9c1e531656 100644 --- a/lisp/emacs-lisp/cl-seq.el +++ b/lisp/emacs-lisp/cl-seq.el | |||
| @@ -171,7 +171,7 @@ FUNCTION is also reversed. | |||
| 171 | (if (listp cl-seq) | 171 | (if (listp cl-seq) |
| 172 | (let ((p (nthcdr cl-start cl-seq)) | 172 | (let ((p (nthcdr cl-start cl-seq)) |
| 173 | (n (and cl-end (- cl-end cl-start)))) | 173 | (n (and cl-end (- cl-end cl-start)))) |
| 174 | (while (and p (or (null n) (>= (cl-decf n) 0))) | 174 | (while (and p (or (null n) (>= (decf n) 0))) |
| 175 | (setcar p cl-item) | 175 | (setcar p cl-item) |
| 176 | (setq p (cdr p)))) | 176 | (setq p (cdr p)))) |
| 177 | (or cl-end (setq cl-end (length cl-seq))) | 177 | (or cl-end (setq cl-end (length cl-seq))) |
| @@ -206,7 +206,7 @@ SEQ1 is destructively modified, then returned. | |||
| 206 | (min cl-n1 (- cl-end2 cl-start2))) | 206 | (min cl-n1 (- cl-end2 cl-start2))) |
| 207 | ((and cl-n1 (null cl-end2)) cl-n1) | 207 | ((and cl-n1 (null cl-end2)) cl-n1) |
| 208 | ((and (null cl-n1) cl-end2) (- cl-end2 cl-start2))))) | 208 | ((and (null cl-n1) cl-end2) (- cl-end2 cl-start2))))) |
| 209 | (while (and cl-p1 cl-p2 (or (null cl-n) (>= (cl-decf cl-n) 0))) | 209 | (while (and cl-p1 cl-p2 (or (null cl-n) (>= (decf cl-n) 0))) |
| 210 | (setcar cl-p1 (car cl-p2)) | 210 | (setcar cl-p1 (car cl-p2)) |
| 211 | (setq cl-p1 (cdr cl-p1) cl-p2 (cdr cl-p2)))) | 211 | (setq cl-p1 (cdr cl-p1) cl-p2 (cdr cl-p2)))) |
| 212 | (setq cl-end2 (if (null cl-n1) | 212 | (setq cl-end2 (if (null cl-n1) |
| @@ -440,7 +440,7 @@ to avoid corrupting the original SEQ. | |||
| 440 | (unless cl-from-end | 440 | (unless cl-from-end |
| 441 | (setf (elt cl-seq cl-i) cl-new) | 441 | (setf (elt cl-seq cl-i) cl-new) |
| 442 | (cl-incf cl-i) | 442 | (cl-incf cl-i) |
| 443 | (cl-decf cl-count)) | 443 | (decf cl-count)) |
| 444 | (apply 'cl-nsubstitute cl-new cl-old cl-seq :count cl-count | 444 | (apply 'cl-nsubstitute cl-new cl-old cl-seq :count cl-count |
| 445 | :start cl-i cl-keys)))))) | 445 | :start cl-i cl-keys)))))) |
| 446 | 446 | ||
diff --git a/lisp/emacs-lisp/comp-cstr.el b/lisp/emacs-lisp/comp-cstr.el index 3d46cc8c6ae..3d46bca30ac 100644 --- a/lisp/emacs-lisp/comp-cstr.el +++ b/lisp/emacs-lisp/comp-cstr.el | |||
| @@ -453,7 +453,7 @@ Return them as multiple value." | |||
| 453 | do | 453 | do |
| 454 | (when (= nest 1) | 454 | (when (= nest 1) |
| 455 | (push `(,(comp-range-1+ low) . ,i) res)) | 455 | (push `(,(comp-range-1+ low) . ,i) res)) |
| 456 | (cl-decf nest) | 456 | (decf nest) |
| 457 | finally return (reverse res))) | 457 | finally return (reverse res))) |
| 458 | 458 | ||
| 459 | (defun comp--range-intersection (&rest ranges) | 459 | (defun comp--range-intersection (&rest ranges) |
| @@ -485,7 +485,7 @@ Return them as multiple value." | |||
| 485 | (when (= nest n-ranges) | 485 | (when (= nest n-ranges) |
| 486 | (push `(,low . ,i) | 486 | (push `(,low . ,i) |
| 487 | res)) | 487 | res)) |
| 488 | (cl-decf nest) | 488 | (decf nest) |
| 489 | finally return (reverse res))) | 489 | finally return (reverse res))) |
| 490 | 490 | ||
| 491 | (defun comp--range-negation (range) | 491 | (defun comp--range-negation (range) |
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 0da007afebb..2baf4ec4b74 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el | |||
| @@ -341,7 +341,7 @@ Returns ELT." | |||
| 341 | "Prepend ELT into VEC. | 341 | "Prepend ELT into VEC. |
| 342 | Returns ELT." | 342 | Returns ELT." |
| 343 | (puthash (1- (comp-vec-beg vec)) elt (comp-vec-data vec)) | 343 | (puthash (1- (comp-vec-beg vec)) elt (comp-vec-data vec)) |
| 344 | (cl-decf (comp-vec-beg vec)) | 344 | (decf (comp-vec-beg vec)) |
| 345 | elt) | 345 | elt) |
| 346 | 346 | ||
| 347 | 347 | ||
| @@ -1543,7 +1543,7 @@ and the annotation emission." | |||
| 1543 | (comp--emit `(set-rest-args-to-local ,(comp--slot-n nonrest))) | 1543 | (comp--emit `(set-rest-args-to-local ,(comp--slot-n nonrest))) |
| 1544 | (setf (comp--sp) nonrest) | 1544 | (setf (comp--sp) nonrest) |
| 1545 | (when (and (> nonrest 8) (null rest)) | 1545 | (when (and (> nonrest 8) (null rest)) |
| 1546 | (cl-decf (comp--sp)))) | 1546 | (decf (comp--sp)))) |
| 1547 | 1547 | ||
| 1548 | (defun comp--limplify-finalize-function (func) | 1548 | (defun comp--limplify-finalize-function (func) |
| 1549 | "Reverse insns into all basic blocks of FUNC." | 1549 | "Reverse insns into all basic blocks of FUNC." |
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 6fcce8d30e0..1d66012e03b 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el | |||
| @@ -4255,7 +4255,7 @@ code location is known." | |||
| 4255 | (let ((new-frame (copy-edebug--frame frame)) | 4255 | (let ((new-frame (copy-edebug--frame frame)) |
| 4256 | (fun (edebug--frame-fun frame)) | 4256 | (fun (edebug--frame-fun frame)) |
| 4257 | (args (edebug--frame-args frame))) | 4257 | (args (edebug--frame-args frame))) |
| 4258 | (cl-decf index) ;; FIXME: Not used? | 4258 | (decf index) ;; FIXME: Not used? |
| 4259 | (pcase fun | 4259 | (pcase fun |
| 4260 | ('edebug-enter | 4260 | ('edebug-enter |
| 4261 | (setq skip-next-lambda t | 4261 | (setq skip-next-lambda t |
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el index 81890268dd7..f1ce52d196b 100644 --- a/lisp/emacs-lisp/eldoc.el +++ b/lisp/emacs-lisp/eldoc.el | |||
| @@ -923,7 +923,7 @@ the docstrings eventually produced, using | |||
| 923 | (cl-incf want) | 923 | (cl-incf want) |
| 924 | (lambda (string &rest plist) | 924 | (lambda (string &rest plist) |
| 925 | (register-doc pos string plist origin) | 925 | (register-doc pos string plist origin) |
| 926 | (when (zerop (cl-decf want)) (display-doc)) | 926 | (when (zerop (decf want)) (display-doc)) |
| 927 | t)) | 927 | t)) |
| 928 | (:eager | 928 | (:eager |
| 929 | (lambda (string &rest plist) | 929 | (lambda (string &rest plist) |
diff --git a/lisp/emacs-lisp/pp.el b/lisp/emacs-lisp/pp.el index 6df15b197c8..3e75807f757 100644 --- a/lisp/emacs-lisp/pp.el +++ b/lisp/emacs-lisp/pp.el | |||
| @@ -592,7 +592,7 @@ the bounds of a region containing Lisp code to pretty-print." | |||
| 592 | (pp--insert-lisp (car sexp))) | 592 | (pp--insert-lisp (car sexp))) |
| 593 | (pop sexp)) | 593 | (pop sexp)) |
| 594 | (pop edebug) | 594 | (pop edebug) |
| 595 | (cl-decf indent)) | 595 | (decf indent)) |
| 596 | (when (stringp (car sexp)) | 596 | (when (stringp (car sexp)) |
| 597 | (insert "\n") | 597 | (insert "\n") |
| 598 | (prin1 (pop sexp) (current-buffer))) | 598 | (prin1 (pop sexp) (current-buffer))) |
diff --git a/lisp/emacs-lisp/smie.el b/lisp/emacs-lisp/smie.el index 98ed7eb5e29..e0c2d567b47 100644 --- a/lisp/emacs-lisp/smie.el +++ b/lisp/emacs-lisp/smie.el | |||
| @@ -2240,7 +2240,7 @@ position corresponding to each rule." | |||
| 2240 | (push off-data (nth 1 sig-data)) | 2240 | (push off-data (nth 1 sig-data)) |
| 2241 | off-data)))) | 2241 | off-data)))) |
| 2242 | (cl-assert (>= (cdr ooff-data) count)) | 2242 | (cl-assert (>= (cdr ooff-data) count)) |
| 2243 | (cl-decf (cdr ooff-data) count) | 2243 | (decf (cdr ooff-data) count) |
| 2244 | (cl-incf (cdr noff-data) count)))))))))) | 2244 | (cl-incf (cdr noff-data) count)))))))))) |
| 2245 | rules)) | 2245 | rules)) |
| 2246 | 2246 | ||
diff --git a/lisp/eshell/esh-io.el b/lisp/eshell/esh-io.el index fb2af40a42b..c4f7ebf12e0 100644 --- a/lisp/eshell/esh-io.el +++ b/lisp/eshell/esh-io.el | |||
| @@ -409,7 +409,7 @@ be a non-nil value on successful termination." | |||
| 409 | (cl-assert (> (cdar handle) 0) | 409 | (cl-assert (> (cdar handle) 0) |
| 410 | "Attempted to close a handle with 0 references") | 410 | "Attempted to close a handle with 0 references") |
| 411 | (when (and (> (cdar handle) 0) | 411 | (when (and (> (cdar handle) 0) |
| 412 | (= (cl-decf (cdar handle)) 0)) | 412 | (= (decf (cdar handle)) 0)) |
| 413 | (dolist (target (caar handle)) | 413 | (dolist (target (caar handle)) |
| 414 | (eshell-close-target target status)) | 414 | (eshell-close-target target status)) |
| 415 | (setcar (car handle) nil)))) | 415 | (setcar (car handle) nil)))) |
| @@ -428,7 +428,7 @@ current list of targets." | |||
| 428 | (aset handles index (list (cons nil 1) nil)))) | 428 | (aset handles index (list (cons nil 1) nil)))) |
| 429 | (defaultp (cadr handle))) | 429 | (defaultp (cadr handle))) |
| 430 | (when defaultp | 430 | (when defaultp |
| 431 | (cl-decf (cdar handle)) | 431 | (decf (cdar handle)) |
| 432 | (setcar handle (cons nil 1))) | 432 | (setcar handle (cons nil 1))) |
| 433 | (let ((current (caar handle)) | 433 | (let ((current (caar handle)) |
| 434 | (where (eshell-get-target target mode))) | 434 | (where (eshell-get-target target mode))) |
diff --git a/lisp/gnus/gnus-async.el b/lisp/gnus/gnus-async.el index 860e9bcee59..4410bed5c03 100644 --- a/lisp/gnus/gnus-async.el +++ b/lisp/gnus/gnus-async.el | |||
| @@ -178,7 +178,7 @@ that was fetched." | |||
| 178 | d) | 178 | d) |
| 179 | (while (and (setq d (pop data)) | 179 | (while (and (setq d (pop data)) |
| 180 | (if (numberp n) | 180 | (if (numberp n) |
| 181 | (natnump (cl-decf n)) | 181 | (natnump (decf n)) |
| 182 | n)) | 182 | n)) |
| 183 | (unless (or (gnus-async-prefetched-article-entry | 183 | (unless (or (gnus-async-prefetched-article-entry |
| 184 | group (setq article (gnus-data-number d))) | 184 | group (setq article (gnus-data-number d))) |
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index e3fbbba02ec..d1536292521 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el | |||
| @@ -1830,7 +1830,7 @@ current line is also eligible as a target." | |||
| 1830 | (gnus-group-mark-update group unmark))) | 1830 | (gnus-group-mark-update group unmark))) |
| 1831 | (unless no-advance | 1831 | (unless no-advance |
| 1832 | (gnus-group-next-group 1)) | 1832 | (gnus-group-next-group 1)) |
| 1833 | (cl-decf n)) | 1833 | (decf n)) |
| 1834 | (gnus-group-position-point) | 1834 | (gnus-group-position-point) |
| 1835 | n)) | 1835 | n)) |
| 1836 | 1836 | ||
| @@ -4012,7 +4012,7 @@ yanked) a list of yanked groups is returned." | |||
| 4012 | (interactive "p" gnus-group-mode) | 4012 | (interactive "p" gnus-group-mode) |
| 4013 | (setq arg (or arg 1)) | 4013 | (setq arg (or arg 1)) |
| 4014 | (let (info group prev out) | 4014 | (let (info group prev out) |
| 4015 | (while (>= (cl-decf arg) 0) | 4015 | (while (>= (decf arg) 0) |
| 4016 | (when (not (setq info (pop gnus-list-of-killed-groups))) | 4016 | (when (not (setq info (pop gnus-list-of-killed-groups))) |
| 4017 | (error "No more newsgroups to yank")) | 4017 | (error "No more newsgroups to yank")) |
| 4018 | (push (setq group (nth 1 info)) out) | 4018 | (push (setq group (nth 1 info)) out) |
diff --git a/lisp/gnus/gnus-salt.el b/lisp/gnus/gnus-salt.el index 6514d8d4174..f6f62de3b37 100644 --- a/lisp/gnus/gnus-salt.el +++ b/lisp/gnus/gnus-salt.el | |||
| @@ -715,7 +715,7 @@ it in the environment specified by BINDINGS." | |||
| 715 | (insert (make-string len ? ))))) | 715 | (insert (make-string len ? ))))) |
| 716 | 716 | ||
| 717 | (defsubst gnus-tree-forward-line (n) | 717 | (defsubst gnus-tree-forward-line (n) |
| 718 | (while (>= (cl-decf n) 0) | 718 | (while (>= (decf n) 0) |
| 719 | (unless (zerop (forward-line 1)) | 719 | (unless (zerop (forward-line 1)) |
| 720 | (end-of-line) | 720 | (end-of-line) |
| 721 | (insert "\n"))) | 721 | (insert "\n"))) |
diff --git a/lisp/gnus/gnus-score.el b/lisp/gnus/gnus-score.el index 0551ca2676d..4f6c12a81ba 100644 --- a/lisp/gnus/gnus-score.el +++ b/lisp/gnus/gnus-score.el | |||
| @@ -3179,7 +3179,7 @@ The decay variables are `gnus-score-decay-constant' and | |||
| 3179 | (setq score (or (nth 1 kill) | 3179 | (setq score (or (nth 1 kill) |
| 3180 | gnus-score-interactive-default-score) | 3180 | gnus-score-interactive-default-score) |
| 3181 | n times) | 3181 | n times) |
| 3182 | (while (natnump (cl-decf n)) | 3182 | (while (natnump (decf n)) |
| 3183 | (setq score (funcall gnus-decay-score-function score))) | 3183 | (setq score (funcall gnus-decay-score-function score))) |
| 3184 | (setcdr kill (cons score | 3184 | (setcdr kill (cons score |
| 3185 | (cdr (cdr kill))))))))) | 3185 | (cdr (cdr kill))))))))) |
diff --git a/lisp/gnus/gnus-srvr.el b/lisp/gnus/gnus-srvr.el index fb96a1ab61f..92a0e949bb7 100644 --- a/lisp/gnus/gnus-srvr.el +++ b/lisp/gnus/gnus-srvr.el | |||
| @@ -940,7 +940,7 @@ how new groups will be entered into the group buffer." | |||
| 940 | (not (eobp)) | 940 | (not (eobp)) |
| 941 | (gnus-browse-toggle-subscription) | 941 | (gnus-browse-toggle-subscription) |
| 942 | (zerop (gnus-browse-next-group ward))) | 942 | (zerop (gnus-browse-next-group ward))) |
| 943 | (cl-decf arg)) | 943 | (decf arg)) |
| 944 | (gnus-group-position-point) | 944 | (gnus-group-position-point) |
| 945 | (when (/= 0 arg) | 945 | (when (/= 0 arg) |
| 946 | (gnus-message 7 "No more newsgroups")) | 946 | (gnus-message 7 "No more newsgroups")) |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index c909d9cfd5c..ed9948525f4 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -4479,7 +4479,7 @@ Returns HEADER if it was entered in the DEPENDENCIES. Returns nil otherwise." | |||
| 4479 | (push gnus-reffed-article-number gnus-newsgroup-sparse) | 4479 | (push gnus-reffed-article-number gnus-newsgroup-sparse) |
| 4480 | (push (cons gnus-reffed-article-number gnus-sparse-mark) | 4480 | (push (cons gnus-reffed-article-number gnus-sparse-mark) |
| 4481 | gnus-newsgroup-reads) | 4481 | gnus-newsgroup-reads) |
| 4482 | (cl-decf gnus-reffed-article-number))) | 4482 | (decf gnus-reffed-article-number))) |
| 4483 | (gnus-message 7 "Making sparse threads...done"))) | 4483 | (gnus-message 7 "Making sparse threads...done"))) |
| 4484 | 4484 | ||
| 4485 | (defun gnus-build-old-threads () | 4485 | (defun gnus-build-old-threads () |
| @@ -4737,7 +4737,7 @@ If LINE, insert the rebuilt thread starting on line LINE." | |||
| 4737 | (setq parent (gnus-parent-id references))) | 4737 | (setq parent (gnus-parent-id references))) |
| 4738 | (car (gnus-id-to-thread parent)) | 4738 | (car (gnus-id-to-thread parent)) |
| 4739 | nil)) | 4739 | nil)) |
| 4740 | (cl-decf generation)) | 4740 | (decf generation)) |
| 4741 | (and (not (eq headers in-headers)) | 4741 | (and (not (eq headers in-headers)) |
| 4742 | headers))) | 4742 | headers))) |
| 4743 | 4743 | ||
| @@ -6152,7 +6152,7 @@ If SELECT-ARTICLES, only select those articles from GROUP." | |||
| 6152 | (let ((i 5)) | 6152 | (let ((i 5)) |
| 6153 | (while (and (> i 2) | 6153 | (while (and (> i 2) |
| 6154 | (not (nth i info))) | 6154 | (not (nth i info))) |
| 6155 | (when (nthcdr (cl-decf i) info) | 6155 | (when (nthcdr (decf i) info) |
| 6156 | (setcdr (nthcdr i info) nil))))))) | 6156 | (setcdr (nthcdr i info) nil))))))) |
| 6157 | 6157 | ||
| 6158 | (defun gnus-set-mode-line (where) | 6158 | (defun gnus-set-mode-line (where) |
| @@ -6560,7 +6560,7 @@ current article will be taken into consideration." | |||
| 6560 | (if backward | 6560 | (if backward |
| 6561 | (gnus-summary-find-prev nil article) | 6561 | (gnus-summary-find-prev nil article) |
| 6562 | (gnus-summary-find-next nil article))) | 6562 | (gnus-summary-find-next nil article))) |
| 6563 | (cl-decf n))) | 6563 | (decf n))) |
| 6564 | (nreverse articles))) | 6564 | (nreverse articles))) |
| 6565 | ((and (and transient-mark-mode mark-active) (mark)) | 6565 | ((and (and transient-mark-mode mark-active) (mark)) |
| 6566 | (message "region active") | 6566 | (message "region active") |
| @@ -8967,7 +8967,7 @@ The difference between N and the number of articles fetched is returned." | |||
| 8967 | (gnus-message 1 "No references in article %d" | 8967 | (gnus-message 1 "No references in article %d" |
| 8968 | (gnus-summary-article-number)) | 8968 | (gnus-summary-article-number)) |
| 8969 | (setq error t)) | 8969 | (setq error t)) |
| 8970 | (cl-decf n)) | 8970 | (decf n)) |
| 8971 | (gnus-summary-position-point) | 8971 | (gnus-summary-position-point) |
| 8972 | n)) | 8972 | n)) |
| 8973 | 8973 | ||
| @@ -11898,7 +11898,7 @@ If SILENT, don't output messages." | |||
| 11898 | (n (abs n))) | 11898 | (n (abs n))) |
| 11899 | (while (and (> n 0) | 11899 | (while (and (> n 0) |
| 11900 | (gnus-summary-go-to-next-thread backward)) | 11900 | (gnus-summary-go-to-next-thread backward)) |
| 11901 | (cl-decf n)) | 11901 | (decf n)) |
| 11902 | (unless silent | 11902 | (unless silent |
| 11903 | (gnus-summary-position-point)) | 11903 | (gnus-summary-position-point)) |
| 11904 | (when (and (not silent) (/= 0 n)) | 11904 | (when (and (not silent) (/= 0 n)) |
| @@ -12671,7 +12671,7 @@ If REVERSE, save parts that do not match TYPE." | |||
| 12671 | ;; article numbers for this article. | 12671 | ;; article numbers for this article. |
| 12672 | (setf (mail-header-number header) gnus-reffed-article-number)) | 12672 | (setf (mail-header-number header) gnus-reffed-article-number)) |
| 12673 | (with-current-buffer gnus-summary-buffer | 12673 | (with-current-buffer gnus-summary-buffer |
| 12674 | (cl-decf gnus-reffed-article-number) | 12674 | (decf gnus-reffed-article-number) |
| 12675 | (gnus-remove-header (mail-header-number header)) | 12675 | (gnus-remove-header (mail-header-number header)) |
| 12676 | (push header gnus-newsgroup-headers) | 12676 | (push header gnus-newsgroup-headers) |
| 12677 | (setq gnus-current-headers header) | 12677 | (setq gnus-current-headers header) |
| @@ -13156,7 +13156,7 @@ If ALL is a number, fetch this number of articles." | |||
| 13156 | gnus-newsgroup-highest i) | 13156 | gnus-newsgroup-highest i) |
| 13157 | (while (> i old-high) | 13157 | (while (> i old-high) |
| 13158 | (push i new) | 13158 | (push i new) |
| 13159 | (cl-decf i)) | 13159 | (decf i)) |
| 13160 | (if (not new) | 13160 | (if (not new) |
| 13161 | (message "No gnus is bad news") | 13161 | (message "No gnus is bad news") |
| 13162 | (gnus-summary-insert-articles new) | 13162 | (gnus-summary-insert-articles new) |
diff --git a/lisp/gnus/gnus-topic.el b/lisp/gnus/gnus-topic.el index edd70d22351..f46ad458057 100644 --- a/lisp/gnus/gnus-topic.el +++ b/lisp/gnus/gnus-topic.el | |||
| @@ -310,7 +310,7 @@ If RECURSIVE is t, return groups in its subtopics too." | |||
| 310 | (while (and (not (zerop num)) | 310 | (while (and (not (zerop num)) |
| 311 | (setq topic (funcall way topic))) | 311 | (setq topic (funcall way topic))) |
| 312 | (when (gnus-topic-goto-topic topic) | 312 | (when (gnus-topic-goto-topic topic) |
| 313 | (cl-decf num))) | 313 | (decf num))) |
| 314 | (unless (zerop num) | 314 | (unless (zerop num) |
| 315 | (goto-char (point-max))) | 315 | (goto-char (point-max))) |
| 316 | num)) | 316 | num)) |
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index 756e28ebda5..37db8a96fa1 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el | |||
| @@ -3787,7 +3787,7 @@ just the host name." | |||
| 3787 | gsep ".")) | 3787 | gsep ".")) |
| 3788 | (setq levels (- glen levels)) | 3788 | (setq levels (- glen levels)) |
| 3789 | (dolist (g glist) | 3789 | (dolist (g glist) |
| 3790 | (push (if (>= (cl-decf levels) 0) | 3790 | (push (if (>= (decf levels) 0) |
| 3791 | (if (zerop (length g)) | 3791 | (if (zerop (length g)) |
| 3792 | "" | 3792 | "" |
| 3793 | (substring g 0 1)) | 3793 | (substring g 0 1)) |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 46c3550418f..67c92ef9978 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -2673,7 +2673,7 @@ Return the number of headers removed." | |||
| 2673 | (cl-incf count))) | 2673 | (cl-incf count))) |
| 2674 | (while (> count 1) | 2674 | (while (> count 1) |
| 2675 | (message-remove-header header nil t) | 2675 | (message-remove-header header nil t) |
| 2676 | (cl-decf count)))) | 2676 | (decf count)))) |
| 2677 | 2677 | ||
| 2678 | (defun message-narrow-to-headers () | 2678 | (defun message-narrow-to-headers () |
| 2679 | "Narrow the buffer to the head of the message." | 2679 | "Narrow the buffer to the head of the message." |
| @@ -6591,7 +6591,7 @@ they are." | |||
| 6591 | (when (> count maxcount) | 6591 | (when (> count maxcount) |
| 6592 | (let ((surplus (- count maxcount))) | 6592 | (let ((surplus (- count maxcount))) |
| 6593 | (message-shorten-1 refs cut surplus) | 6593 | (message-shorten-1 refs cut surplus) |
| 6594 | (cl-decf count surplus))) | 6594 | (decf count surplus))) |
| 6595 | 6595 | ||
| 6596 | ;; When sending via news, make sure the total folded length will | 6596 | ;; When sending via news, make sure the total folded length will |
| 6597 | ;; be less than 998 characters. This is to cater to broken INN | 6597 | ;; be less than 998 characters. This is to cater to broken INN |
| @@ -8929,7 +8929,7 @@ used to take the screenshot." | |||
| 8929 | (unless (executable-find (car message-screenshot-command)) | 8929 | (unless (executable-find (car message-screenshot-command)) |
| 8930 | (error "Can't find %s to take the screenshot" | 8930 | (error "Can't find %s to take the screenshot" |
| 8931 | (car message-screenshot-command))) | 8931 | (car message-screenshot-command))) |
| 8932 | (cl-decf delay) | 8932 | (decf delay) |
| 8933 | (unless (zerop delay) | 8933 | (unless (zerop delay) |
| 8934 | (dotimes (i delay) | 8934 | (dotimes (i delay) |
| 8935 | (message "Sleeping %d second%s..." | 8935 | (message "Sleeping %d second%s..." |
diff --git a/lisp/gnus/mm-url.el b/lisp/gnus/mm-url.el index 3972ec002ee..9ac0f91f33e 100644 --- a/lisp/gnus/mm-url.el +++ b/lisp/gnus/mm-url.el | |||
| @@ -310,7 +310,7 @@ If FOLLOW-REFRESH is non-nil, redirect refresh url in META." | |||
| 310 | (done nil) | 310 | (done nil) |
| 311 | (first t) | 311 | (first t) |
| 312 | result) | 312 | result) |
| 313 | (while (and (not (zerop (cl-decf times))) | 313 | (while (and (not (zerop (decf times))) |
| 314 | (not done)) | 314 | (not done)) |
| 315 | (with-timeout (mm-url-timeout) | 315 | (with-timeout (mm-url-timeout) |
| 316 | (unless first | 316 | (unless first |
diff --git a/lisp/gnus/nnselect.el b/lisp/gnus/nnselect.el index 19d3936777f..eb9fd47dc0d 100644 --- a/lisp/gnus/nnselect.el +++ b/lisp/gnus/nnselect.el | |||
| @@ -1029,7 +1029,7 @@ article came from is also searched." | |||
| 1029 | (let ((i 5)) | 1029 | (let ((i 5)) |
| 1030 | (while (and (> i 2) | 1030 | (while (and (> i 2) |
| 1031 | (not (nth i group-info))) | 1031 | (not (nth i group-info))) |
| 1032 | (when (nthcdr (cl-decf i) group-info) | 1032 | (when (nthcdr (decf i) group-info) |
| 1033 | (setcdr (nthcdr i group-info) nil)))) | 1033 | (setcdr (nthcdr i group-info) nil)))) |
| 1034 | 1034 | ||
| 1035 | ;; update read and unread | 1035 | ;; update read and unread |
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 4aac9be37cc..bba8d554215 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el | |||
| @@ -940,7 +940,7 @@ width and the longest string in LIST." | |||
| 940 | (when (get-text-property (point) 'ibuffer-title) | 940 | (when (get-text-property (point) 'ibuffer-title) |
| 941 | (forward-line 1) | 941 | (forward-line 1) |
| 942 | (setq arg 1)) | 942 | (setq arg 1)) |
| 943 | (cl-decf arg))) | 943 | (decf arg))) |
| 944 | 944 | ||
| 945 | (defun ibuffer-forward-line (&optional arg skip-group-names) | 945 | (defun ibuffer-forward-line (&optional arg skip-group-names) |
| 946 | "Move forward ARG lines, wrapping around the list if necessary." | 946 | "Move forward ARG lines, wrapping around the list if necessary." |
| @@ -955,7 +955,7 @@ width and the longest string in LIST." | |||
| 955 | (and skip-group-names | 955 | (and skip-group-names |
| 956 | (get-text-property (point) 'ibuffer-filter-group-name))) | 956 | (get-text-property (point) 'ibuffer-filter-group-name))) |
| 957 | (when (> arg 0) | 957 | (when (> arg 0) |
| 958 | (cl-decf arg)) | 958 | (decf arg)) |
| 959 | (ibuffer-skip-properties (append '(ibuffer-title) | 959 | (ibuffer-skip-properties (append '(ibuffer-title) |
| 960 | (when skip-group-names | 960 | (when skip-group-names |
| 961 | '(ibuffer-filter-group-name))) | 961 | '(ibuffer-filter-group-name))) |
| @@ -968,7 +968,7 @@ width and the longest string in LIST." | |||
| 968 | (or (eobp) | 968 | (or (eobp) |
| 969 | (get-text-property (point) 'ibuffer-summary))) | 969 | (get-text-property (point) 'ibuffer-summary))) |
| 970 | (goto-char (point-min))) | 970 | (goto-char (point-min))) |
| 971 | (cl-decf arg) | 971 | (decf arg) |
| 972 | (ibuffer-skip-properties (append '(ibuffer-title) | 972 | (ibuffer-skip-properties (append '(ibuffer-title) |
| 973 | (when skip-group-names | 973 | (when skip-group-names |
| 974 | '(ibuffer-filter-group-name))) | 974 | '(ibuffer-filter-group-name))) |
| @@ -1926,7 +1926,7 @@ the buffer object itself and the current mark symbol." | |||
| 1926 | (cl-incf ibuffer-map-lines-count) | 1926 | (cl-incf ibuffer-map-lines-count) |
| 1927 | (when (< ibuffer-map-lines-total | 1927 | (when (< ibuffer-map-lines-total |
| 1928 | orig-target-line) | 1928 | orig-target-line) |
| 1929 | (cl-decf target-line-offset))) | 1929 | (decf target-line-offset))) |
| 1930 | (t | 1930 | (t |
| 1931 | (cl-incf ibuffer-map-lines-count) | 1931 | (cl-incf ibuffer-map-lines-count) |
| 1932 | (forward-line 1))))) | 1932 | (forward-line 1))))) |
diff --git a/lisp/icomplete.el b/lisp/icomplete.el index d1d1d4a9d81..c58bffbb36b 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el | |||
| @@ -877,7 +877,7 @@ by `group-function''s second \"transformation\" protocol." | |||
| 877 | for neighbor = nil | 877 | for neighbor = nil |
| 878 | if (and preds (> space-above 0)) do | 878 | if (and preds (> space-above 0)) do |
| 879 | (push (setq neighbor (pop preds)) scroll-above) | 879 | (push (setq neighbor (pop preds)) scroll-above) |
| 880 | (cl-decf space-above) | 880 | (decf space-above) |
| 881 | else if (consp succs) collect | 881 | else if (consp succs) collect |
| 882 | (setq neighbor (pop succs)) into scroll-below-aux | 882 | (setq neighbor (pop succs)) into scroll-below-aux |
| 883 | while neighbor | 883 | while neighbor |
diff --git a/lisp/image/image-dired-external.el b/lisp/image/image-dired-external.el index cec01ecef41..f09f676893d 100644 --- a/lisp/image/image-dired-external.el +++ b/lisp/image/image-dired-external.el | |||
| @@ -424,7 +424,7 @@ on MS-Windows cannot have too many concurrent sub-processes.") | |||
| 424 | (setf (process-sentinel process) | 424 | (setf (process-sentinel process) |
| 425 | (lambda (process status) | 425 | (lambda (process status) |
| 426 | ;; Trigger next in queue once a thumbnail has been created | 426 | ;; Trigger next in queue once a thumbnail has been created |
| 427 | (cl-decf image-dired-queue-active-jobs) | 427 | (decf image-dired-queue-active-jobs) |
| 428 | (image-dired-thumb-queue-run) | 428 | (image-dired-thumb-queue-run) |
| 429 | (when (= image-dired-queue-active-jobs 0) | 429 | (when (= image-dired-queue-active-jobs 0) |
| 430 | (image-dired-debug | 430 | (image-dired-debug |
diff --git a/lisp/image/image-dired.el b/lisp/image/image-dired.el index 8edc73d09b8..aff452b0f5c 100644 --- a/lisp/image/image-dired.el +++ b/lisp/image/image-dired.el | |||
| @@ -1184,7 +1184,7 @@ With a negative prefix argument, prompt user for the delay." | |||
| 1184 | (interactive nil image-dired-thumbnail-mode) | 1184 | (interactive nil image-dired-thumbnail-mode) |
| 1185 | (let ((inhibit-read-only t)) | 1185 | (let ((inhibit-read-only t)) |
| 1186 | (delete-char 1) | 1186 | (delete-char 1) |
| 1187 | (cl-decf image-dired--number-of-thumbnails)) | 1187 | (decf image-dired--number-of-thumbnails)) |
| 1188 | (let ((pos (point))) | 1188 | (let ((pos (point))) |
| 1189 | (image-dired--line-up-with-method) | 1189 | (image-dired--line-up-with-method) |
| 1190 | (goto-char pos) | 1190 | (goto-char pos) |
diff --git a/lisp/mail/ietf-drums-date.el b/lisp/mail/ietf-drums-date.el index c9be86eafd9..0f79e9353d3 100644 --- a/lisp/mail/ietf-drums-date.el +++ b/lisp/mail/ietf-drums-date.el | |||
| @@ -88,7 +88,7 @@ treat them as whitespace (per RFC822)." | |||
| 88 | ;; it to see if it might be a paren. | 88 | ;; it to see if it might be a paren. |
| 89 | (cl-incf index)) | 89 | (cl-incf index)) |
| 90 | ((eq char ?\() (cl-incf nest)) | 90 | ((eq char ?\() (cl-incf nest)) |
| 91 | ((eq char ?\)) (cl-decf nest))))))) | 91 | ((eq char ?\)) (decf nest))))))) |
| 92 | (skip-ignored) ;; Skip leading whitespace. | 92 | (skip-ignored) ;; Skip leading whitespace. |
| 93 | (while (and (< index end) | 93 | (while (and (< index end) |
| 94 | (not (and comment-eof | 94 | (not (and comment-eof |
diff --git a/lisp/mh-e/mh-utils.el b/lisp/mh-e/mh-utils.el index fc83f5618b9..1c6bc6833f0 100644 --- a/lisp/mh-e/mh-utils.el +++ b/lisp/mh-e/mh-utils.el | |||
| @@ -578,7 +578,7 @@ This function is a testable helper of `mh-sub-folders-actual'." | |||
| 578 | (line-beginning-position) t))) | 578 | (line-beginning-position) t))) |
| 579 | (when (integerp has-pos) | 579 | (when (integerp has-pos) |
| 580 | (while (equal (char-after has-pos) ? ) | 580 | (while (equal (char-after has-pos) ? ) |
| 581 | (cl-decf has-pos)) | 581 | (decf has-pos)) |
| 582 | (cl-incf has-pos) | 582 | (cl-incf has-pos) |
| 583 | (while (equal (char-after start-pos) ? ) | 583 | (while (equal (char-after start-pos) ? ) |
| 584 | (cl-incf start-pos)) | 584 | (cl-incf start-pos)) |
| @@ -603,7 +603,7 @@ This function is a testable helper of `mh-sub-folders-actual'." | |||
| 603 | (let ((folder-name-len (length (format "%s/" (substring folder 1))))) | 603 | (let ((folder-name-len (length (format "%s/" (substring folder 1))))) |
| 604 | (when (equal "+/" folder) | 604 | (when (equal "+/" folder) |
| 605 | ;; folder "+/" includes a trailing slash | 605 | ;; folder "+/" includes a trailing slash |
| 606 | (cl-decf folder-name-len)) | 606 | (decf folder-name-len)) |
| 607 | (setq results (mapcar (lambda (f) | 607 | (setq results (mapcar (lambda (f) |
| 608 | (cons (substring (car f) folder-name-len) | 608 | (cons (substring (car f) folder-name-len) |
| 609 | (cdr f))) | 609 | (cdr f))) |
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 19b78173792..0368e533dab 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el | |||
| @@ -2772,7 +2772,7 @@ The candidate will still be chosen by `choose-completion' unless | |||
| 2772 | (setq end (1+ end))) | 2772 | (setq end (1+ end))) |
| 2773 | ;; Tried to use a marker to track buffer changes | 2773 | ;; Tried to use a marker to track buffer changes |
| 2774 | ;; but that clashed with another existing marker. | 2774 | ;; but that clashed with another existing marker. |
| 2775 | (cl-decf (nth 1 base-position) | 2775 | (decf (nth 1 base-position) |
| 2776 | (- end start (length choice))) | 2776 | (- end start (length choice))) |
| 2777 | ;; FIXME: Use `md' to do quoting&terminator here. | 2777 | ;; FIXME: Use `md' to do quoting&terminator here. |
| 2778 | (completion--replace start (min end (point-max)) choice) | 2778 | (completion--replace start (min end (point-max)) choice) |
diff --git a/lisp/mpc.el b/lisp/mpc.el index e639129d86a..9e63c76a323 100644 --- a/lisp/mpc.el +++ b/lisp/mpc.el | |||
| @@ -869,7 +869,7 @@ If PLAYLIST is t or nil or missing, use the main playlist." | |||
| 869 | (list "move" song-pos dest-pos)) | 869 | (list "move" song-pos dest-pos)) |
| 870 | (if (< song-pos dest-pos) | 870 | (if (< song-pos dest-pos) |
| 871 | ;; This move has shifted dest-pos by 1. | 871 | ;; This move has shifted dest-pos by 1. |
| 872 | (cl-decf dest-pos)) | 872 | (decf dest-pos)) |
| 873 | (cl-incf i))) | 873 | (cl-incf i))) |
| 874 | ;; Sort them from last to first, so the renumbering | 874 | ;; Sort them from last to first, so the renumbering |
| 875 | ;; caused by the earlier deletions affect | 875 | ;; caused by the earlier deletions affect |
| @@ -2357,7 +2357,7 @@ This is used so that they can be compared with `eq', which is needed for | |||
| 2357 | (if (null new-context) | 2357 | (if (null new-context) |
| 2358 | ;; There isn't more context: choose one arbitrarily | 2358 | ;; There isn't more context: choose one arbitrarily |
| 2359 | ;; and keep looking for a better match elsewhere. | 2359 | ;; and keep looking for a better match elsewhere. |
| 2360 | (cl-decf context-size) | 2360 | (decf context-size) |
| 2361 | (setq context new-context) | 2361 | (setq context new-context) |
| 2362 | (setq score (mpc-songpointer-score context pos)) | 2362 | (setq score (mpc-songpointer-score context pos)) |
| 2363 | (save-excursion | 2363 | (save-excursion |
diff --git a/lisp/net/eww.el b/lisp/net/eww.el index fcd0c8d9090..caee50a712f 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el | |||
| @@ -1805,7 +1805,7 @@ See URL `https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.") | |||
| 1805 | (while (and (> length 0) | 1805 | (while (and (> length 0) |
| 1806 | (eq (char-after (1- (point))) ? )) | 1806 | (eq (char-after (1- (point))) ? )) |
| 1807 | (delete-region (1- (point)) (point)) | 1807 | (delete-region (1- (point)) (point)) |
| 1808 | (cl-decf length)))) | 1808 | (decf length)))) |
| 1809 | ((< length 0) | 1809 | ((< length 0) |
| 1810 | ;; Add padding. | 1810 | ;; Add padding. |
| 1811 | (save-excursion | 1811 | (save-excursion |
diff --git a/lisp/net/pop3.el b/lisp/net/pop3.el index cd5390f11a1..a4de429311c 100644 --- a/lisp/net/pop3.el +++ b/lisp/net/pop3.el | |||
| @@ -245,7 +245,7 @@ Use streaming commands." | |||
| 245 | (or (not total-size) | 245 | (or (not total-size) |
| 246 | (re-search-forward "^\\.\r?\n" nil t))) | 246 | (re-search-forward "^\\.\r?\n" nil t))) |
| 247 | (re-search-forward "^-ERR " nil t)) | 247 | (re-search-forward "^-ERR " nil t)) |
| 248 | (cl-decf count) | 248 | (decf count) |
| 249 | (setq start-point (point))) | 249 | (setq start-point (point))) |
| 250 | (unless (memq (process-status process) '(open run)) | 250 | (unless (memq (process-status process) '(open run)) |
| 251 | (error "pop3 process died")) | 251 | (error "pop3 process died")) |
| @@ -363,7 +363,7 @@ Use streaming commands." | |||
| 363 | (while (> i 0) | 363 | (while (> i 0) |
| 364 | (unless (member (nth (1- i) pop3-uidl) saved) | 364 | (unless (member (nth (1- i) pop3-uidl) saved) |
| 365 | (push i messages)) | 365 | (push i messages)) |
| 366 | (cl-decf i))) | 366 | (decf i))) |
| 367 | (when messages | 367 | (when messages |
| 368 | (setq list (pop3-list process) | 368 | (setq list (pop3-list process) |
| 369 | size 0) | 369 | size 0) |
| @@ -395,7 +395,7 @@ Return non-nil if it is necessary to update the local UIDL file." | |||
| 395 | (unless (member (setq uidl (nth i pop3-uidl)) (cdr saved)) | 395 | (unless (member (setq uidl (nth i pop3-uidl)) (cdr saved)) |
| 396 | (push ctime new) | 396 | (push ctime new) |
| 397 | (push uidl new)) | 397 | (push uidl new)) |
| 398 | (cl-decf i))) | 398 | (decf i))) |
| 399 | (pop3-uidl | 399 | (pop3-uidl |
| 400 | (setq new (mapcan (lambda (elt) (list elt ctime)) pop3-uidl)))) | 400 | (setq new (mapcan (lambda (elt) (list elt ctime)) pop3-uidl)))) |
| 401 | (when new (setq mod t)) | 401 | (when new (setq mod t)) |
| @@ -416,7 +416,7 @@ Return non-nil if it is necessary to update the local UIDL file." | |||
| 416 | (push uidl new))) | 416 | (push uidl new))) |
| 417 | ;; Mails having been deleted in the server. | 417 | ;; Mails having been deleted in the server. |
| 418 | (setq mod t)) | 418 | (setq mod t)) |
| 419 | (cl-decf i 2)) | 419 | (decf i 2)) |
| 420 | (cond (saved | 420 | (cond (saved |
| 421 | (setcdr saved new)) | 421 | (setcdr saved new)) |
| 422 | (srvr | 422 | (srvr |
| @@ -432,7 +432,7 @@ Return non-nil if it is necessary to update the local UIDL file." | |||
| 432 | (while (> i 0) | 432 | (while (> i 0) |
| 433 | (when (member (nth (1- i) pop3-uidl) dele) | 433 | (when (member (nth (1- i) pop3-uidl) dele) |
| 434 | (push i uidl)) | 434 | (push i uidl)) |
| 435 | (cl-decf i)) | 435 | (decf i)) |
| 436 | (when uidl | 436 | (when uidl |
| 437 | (pop3-send-streaming-command process "DELE" uidl nil))) | 437 | (pop3-send-streaming-command process "DELE" uidl nil))) |
| 438 | mod)) | 438 | mod)) |
diff --git a/lisp/net/shr-color.el b/lisp/net/shr-color.el index 7cfe23fee04..3f7b6f6df8f 100644 --- a/lisp/net/shr-color.el +++ b/lisp/net/shr-color.el | |||
| @@ -209,7 +209,7 @@ This will convert \"80 %\" to 204, \"100 %\" to 255 but \"123\" to \"123\"." | |||
| 209 | (defun shr-color-hue-to-rgb (x y h) | 209 | (defun shr-color-hue-to-rgb (x y h) |
| 210 | "Convert X Y H to RGB value." | 210 | "Convert X Y H to RGB value." |
| 211 | (when (< h 0) (cl-incf h)) | 211 | (when (< h 0) (cl-incf h)) |
| 212 | (when (> h 1) (cl-decf h)) | 212 | (when (> h 1) (decf h)) |
| 213 | (cond ((< h (/ 6.0)) (+ x (* (- y x) h 6))) | 213 | (cond ((< h (/ 6.0)) (+ x (* (- y x) h 6))) |
| 214 | ((< h 0.5) y) | 214 | ((< h 0.5) y) |
| 215 | ((< h (/ 2.0 3.0)) (+ x (* (- y x) (- (/ 2.0 3.0) h) 6))) | 215 | ((< h (/ 2.0 3.0)) (+ x (* (- y x) (- (/ 2.0 3.0) h) 6))) |
diff --git a/lisp/play/5x5.el b/lisp/play/5x5.el index e7638ef0f59..31b398a4bc1 100644 --- a/lisp/play/5x5.el +++ b/lisp/play/5x5.el | |||
| @@ -858,7 +858,7 @@ lest." | |||
| 858 | "Move up." | 858 | "Move up." |
| 859 | (interactive nil 5x5-mode) | 859 | (interactive nil 5x5-mode) |
| 860 | (unless (zerop 5x5-y-pos) | 860 | (unless (zerop 5x5-y-pos) |
| 861 | (cl-decf 5x5-y-pos) | 861 | (decf 5x5-y-pos) |
| 862 | (5x5-position-cursor))) | 862 | (5x5-position-cursor))) |
| 863 | 863 | ||
| 864 | (defun 5x5-down () | 864 | (defun 5x5-down () |
| @@ -872,7 +872,7 @@ lest." | |||
| 872 | "Move left." | 872 | "Move left." |
| 873 | (interactive nil 5x5-mode) | 873 | (interactive nil 5x5-mode) |
| 874 | (unless (zerop 5x5-x-pos) | 874 | (unless (zerop 5x5-x-pos) |
| 875 | (cl-decf 5x5-x-pos) | 875 | (decf 5x5-x-pos) |
| 876 | (5x5-position-cursor))) | 876 | (5x5-position-cursor))) |
| 877 | 877 | ||
| 878 | (defun 5x5-right () | 878 | (defun 5x5-right () |
diff --git a/lisp/play/decipher.el b/lisp/play/decipher.el index ac001697ff2..6b5a8d570db 100644 --- a/lisp/play/decipher.el +++ b/lisp/play/decipher.el | |||
| @@ -603,7 +603,7 @@ You should use this if you edit the ciphertext." | |||
| 603 | (while (>= plain-char ?a) | 603 | (while (>= plain-char ?a) |
| 604 | (backward-char) | 604 | (backward-char) |
| 605 | (push (cons plain-char (following-char)) decipher-alphabet) | 605 | (push (cons plain-char (following-char)) decipher-alphabet) |
| 606 | (cl-decf plain-char))))) | 606 | (decf plain-char))))) |
| 607 | 607 | ||
| 608 | ;;;=================================================================== | 608 | ;;;=================================================================== |
| 609 | ;;; Analyzing ciphertext: | 609 | ;;; Analyzing ciphertext: |
| @@ -832,7 +832,7 @@ TOTAL is the total number of letters in the ciphertext." | |||
| 832 | ;; We do not include spaces (word divisions) in this count. | 832 | ;; We do not include spaces (word divisions) in this count. |
| 833 | (let ((total 0) | 833 | (let ((total 0) |
| 834 | (i 26)) | 834 | (i 26)) |
| 835 | (while (>= (cl-decf i) 0) | 835 | (while (>= (decf i) 0) |
| 836 | (if (or (> (aref before-count i) 0) | 836 | (if (or (> (aref before-count i) 0) |
| 837 | (> (aref after-count i) 0)) | 837 | (> (aref after-count i) 0)) |
| 838 | (cl-incf total))) | 838 | (cl-incf total))) |
| @@ -849,7 +849,7 @@ Creates the statistics buffer if it doesn't exist." | |||
| 849 | decipher--digram decipher--digram-list freq-list) | 849 | decipher--digram decipher--digram-list freq-list) |
| 850 | (message "Scanning buffer...") | 850 | (message "Scanning buffer...") |
| 851 | (let ((i 26)) | 851 | (let ((i 26)) |
| 852 | (while (>= (cl-decf i) 0) | 852 | (while (>= (decf i) 0) |
| 853 | (aset decipher--before i (make-vector 27 0)) | 853 | (aset decipher--before i (make-vector 27 0)) |
| 854 | (aset decipher--after i (make-vector 27 0)))) | 854 | (aset decipher--after i (make-vector 27 0)))) |
| 855 | (if decipher-ignore-spaces | 855 | (if decipher-ignore-spaces |
| @@ -857,7 +857,7 @@ Creates the statistics buffer if it doesn't exist." | |||
| 857 | (decipher-loop-no-breaks #'decipher--analyze) | 857 | (decipher-loop-no-breaks #'decipher--analyze) |
| 858 | ;; The first character of ciphertext was marked as following a space: | 858 | ;; The first character of ciphertext was marked as following a space: |
| 859 | (let ((i 26)) | 859 | (let ((i 26)) |
| 860 | (while (>= (cl-decf i) 0) | 860 | (while (>= (decf i) 0) |
| 861 | (aset (aref decipher--after i) 26 0)))) | 861 | (aset (aref decipher--after i) 26 0)))) |
| 862 | (decipher-loop-with-breaks #'decipher--analyze)) | 862 | (decipher-loop-with-breaks #'decipher--analyze)) |
| 863 | (message "Processing results...") | 863 | (message "Processing results...") |
| @@ -872,7 +872,7 @@ Creates the statistics buffer if it doesn't exist." | |||
| 872 | ;; of times it occurs, and DIFFERENT is the number of different | 872 | ;; of times it occurs, and DIFFERENT is the number of different |
| 873 | ;; letters it appears next to. | 873 | ;; letters it appears next to. |
| 874 | (let ((i 26)) | 874 | (let ((i 26)) |
| 875 | (while (>= (cl-decf i) 0) | 875 | (while (>= (decf i) 0) |
| 876 | (setq freq-list | 876 | (setq freq-list |
| 877 | (cons (list (+ i ?A) | 877 | (cons (list (+ i ?A) |
| 878 | (aref decipher--freqs i) | 878 | (aref decipher--freqs i) |
diff --git a/lisp/play/hanoi.el b/lisp/play/hanoi.el index 8bc8d77108b..41e5de7c1f4 100644 --- a/lisp/play/hanoi.el +++ b/lisp/play/hanoi.el | |||
| @@ -318,7 +318,7 @@ BITS must be of length nrings. Start at START-TIME." | |||
| 318 | 318 | ||
| 319 | ;; put never-before-placed RING on POLE and update their cars. | 319 | ;; put never-before-placed RING on POLE and update their cars. |
| 320 | (defun hanoi-insert-ring (ring pole) | 320 | (defun hanoi-insert-ring (ring pole) |
| 321 | (cl-decf (car pole) baseward-step) | 321 | (decf (car pole) baseward-step) |
| 322 | (let ((str (car ring)) | 322 | (let ((str (car ring)) |
| 323 | (start (- (car pole) (* (/ (cdr ring) 2) fly-step)))) | 323 | (start (- (car pole) (* (/ (cdr ring) 2) fly-step)))) |
| 324 | (setcar ring (car pole)) | 324 | (setcar ring (car pole)) |
| @@ -338,7 +338,7 @@ BITS must be of length nrings. Start at START-TIME." | |||
| 338 | ;; do one pole-to-pole move and update the ring and pole pairs. | 338 | ;; do one pole-to-pole move and update the ring and pole pairs. |
| 339 | (defun hanoi-move-ring (ring from to start-time) | 339 | (defun hanoi-move-ring (ring from to start-time) |
| 340 | (cl-incf (car from) baseward-step) | 340 | (cl-incf (car from) baseward-step) |
| 341 | (cl-decf (car to) baseward-step) | 341 | (decf (car to) baseward-step) |
| 342 | (let* ;; We move flywards-steps steps up the pole to the fly row, | 342 | (let* ;; We move flywards-steps steps up the pole to the fly row, |
| 343 | ;; then fly fly-steps steps across the fly row, then go | 343 | ;; then fly fly-steps steps across the fly row, then go |
| 344 | ;; baseward-steps steps down the new pole. | 344 | ;; baseward-steps steps down the new pole. |
diff --git a/lisp/profiler.el b/lisp/profiler.el index 115bd4f74cb..57bd56af593 100644 --- a/lisp/profiler.el +++ b/lisp/profiler.el | |||
| @@ -65,7 +65,7 @@ | |||
| 65 | collect ?, into s | 65 | collect ?, into s |
| 66 | and do (setq i 3) | 66 | and do (setq i 3) |
| 67 | collect c into s | 67 | collect c into s |
| 68 | do (cl-decf i) | 68 | do (decf i) |
| 69 | finally return | 69 | finally return |
| 70 | (apply #'string (if (eq (car s) ?,) (cdr s) s))) | 70 | (apply #'string (if (eq (car s) ?,) (cdr s) s))) |
| 71 | (profiler-ensure-string number))) | 71 | (profiler-ensure-string number))) |
| @@ -336,7 +336,7 @@ Optional argument MODE means only check for the specified mode (cpu or mem)." | |||
| 336 | (cl-assert (function-equal (aref backtrace max) | 336 | (cl-assert (function-equal (aref backtrace max) |
| 337 | (aref parent i))) | 337 | (aref parent i))) |
| 338 | (while (progn | 338 | (while (progn |
| 339 | (cl-decf imatch) (cl-decf match) | 339 | (decf imatch) (decf match) |
| 340 | (when (> imatch 0) | 340 | (when (> imatch 0) |
| 341 | (function-equal (aref backtrace match) | 341 | (function-equal (aref backtrace match) |
| 342 | (aref parent imatch))))) | 342 | (aref parent imatch))))) |
| @@ -373,7 +373,7 @@ Optional argument MODE means only check for the specified mode (cpu or mem)." | |||
| 373 | (let ((j (1- max))) | 373 | (let ((j (1- max))) |
| 374 | (while (> j i) | 374 | (while (> j i) |
| 375 | (let ((f (aref parent j))) | 375 | (let ((f (aref parent j))) |
| 376 | (cl-decf j) | 376 | (decf j) |
| 377 | (when f | 377 | (when f |
| 378 | (let ((child (profiler-calltree-find node f))) | 378 | (let ((child (profiler-calltree-find node f))) |
| 379 | (unless child | 379 | (unless child |
diff --git a/lisp/progmodes/antlr-mode.el b/lisp/progmodes/antlr-mode.el index d889f283aaf..4f17dd77b2a 100644 --- a/lisp/progmodes/antlr-mode.el +++ b/lisp/progmodes/antlr-mode.el | |||
| @@ -1198,9 +1198,9 @@ is non-nil, move to beginning of the rule." | |||
| 1198 | (antlr-skip-exception-part skip-comment))) | 1198 | (antlr-skip-exception-part skip-comment))) |
| 1199 | (if (<= (point) pos) ; moved backward? | 1199 | (if (<= (point) pos) ; moved backward? |
| 1200 | (goto-char pos) ; rewind | 1200 | (goto-char pos) ; rewind |
| 1201 | (cl-decf arg)) ; already moved one defun forward | 1201 | (decf arg)) ; already moved one defun forward |
| 1202 | (unless (zerop arg) | 1202 | (unless (zerop arg) |
| 1203 | (while (>= (cl-decf arg) 0) | 1203 | (while (>= (decf arg) 0) |
| 1204 | (antlr-search-forward ";")) | 1204 | (antlr-search-forward ";")) |
| 1205 | (antlr-skip-exception-part skip-comment))))) | 1205 | (antlr-skip-exception-part skip-comment))))) |
| 1206 | 1206 | ||
| @@ -2276,7 +2276,7 @@ to a lesser extent, `antlr-tab-offset-alist'." | |||
| 2276 | (unless (symbolp syntax) ; direct indentation | 2276 | (unless (symbolp syntax) ; direct indentation |
| 2277 | ;;(antlr-invalidate-context-cache) | 2277 | ;;(antlr-invalidate-context-cache) |
| 2278 | (cl-incf indent (antlr-syntactic-context)) | 2278 | (cl-incf indent (antlr-syntactic-context)) |
| 2279 | (and (> indent 0) (looking-at antlr-indent-item-regexp) (cl-decf indent)) | 2279 | (and (> indent 0) (looking-at antlr-indent-item-regexp) (decf indent)) |
| 2280 | (setq indent (* indent c-basic-offset))) | 2280 | (setq indent (* indent c-basic-offset))) |
| 2281 | ;; the usual major-mode indent stuff --------------------------------- | 2281 | ;; the usual major-mode indent stuff --------------------------------- |
| 2282 | (setq orig (- (point-max) orig)) | 2282 | (setq orig (- (point-max) orig)) |
diff --git a/lisp/progmodes/c-ts-common.el b/lisp/progmodes/c-ts-common.el index 250e3879b57..6e36b64f02a 100644 --- a/lisp/progmodes/c-ts-common.el +++ b/lisp/progmodes/c-ts-common.el | |||
| @@ -491,7 +491,7 @@ characters on the current line." | |||
| 491 | ;; one level because the code below assumes NODE is a statement | 491 | ;; one level because the code below assumes NODE is a statement |
| 492 | ;; _inside_ a {} block. | 492 | ;; _inside_ a {} block. |
| 493 | (when (c-ts-common--node-is node 'block 'close-bracket) | 493 | (when (c-ts-common--node-is node 'block 'close-bracket) |
| 494 | (cl-decf level)) | 494 | (decf level)) |
| 495 | ;; If point is on an empty line, NODE would be nil, but we pretend | 495 | ;; If point is on an empty line, NODE would be nil, but we pretend |
| 496 | ;; there is a statement node. | 496 | ;; there is a statement node. |
| 497 | (when (null node) | 497 | (when (null node) |
| @@ -530,7 +530,7 @@ characters on the current line." | |||
| 530 | (goto-char (treesit-node-start node)) | 530 | (goto-char (treesit-node-start node)) |
| 531 | (looking-back (rx bol (* whitespace)) | 531 | (looking-back (rx bol (* whitespace)) |
| 532 | (line-beginning-position))))) | 532 | (line-beginning-position))))) |
| 533 | (cl-decf level))) | 533 | (decf level))) |
| 534 | ;; Go up the tree. | 534 | ;; Go up the tree. |
| 535 | (setq node (treesit-node-parent node))) | 535 | (setq node (treesit-node-parent node))) |
| 536 | (* level (symbol-value c-ts-common-indent-offset)))) | 536 | (* level (symbol-value c-ts-common-indent-offset)))) |
diff --git a/lisp/progmodes/ebrowse.el b/lisp/progmodes/ebrowse.el index 9805a2bf04a..70e1a1e5904 100644 --- a/lisp/progmodes/ebrowse.el +++ b/lisp/progmodes/ebrowse.el | |||
| @@ -2214,7 +2214,7 @@ make one." | |||
| 2214 | ebrowse-member-list-accessors) | 2214 | ebrowse-member-list-accessors) |
| 2215 | (cl-first ebrowse-member-list-accessors))) | 2215 | (cl-first ebrowse-member-list-accessors))) |
| 2216 | ((minusp incr) | 2216 | ((minusp incr) |
| 2217 | (or (and (>= (cl-decf index) 0) | 2217 | (or (and (>= (decf index) 0) |
| 2218 | (nth index | 2218 | (nth index |
| 2219 | ebrowse-member-list-accessors)) | 2219 | ebrowse-member-list-accessors)) |
| 2220 | (cl-first (last ebrowse-member-list-accessors)))))) | 2220 | (cl-first (last ebrowse-member-list-accessors)))))) |
diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el index 49788daa269..0d5797bb303 100644 --- a/lisp/progmodes/hideif.el +++ b/lisp/progmodes/hideif.el | |||
| @@ -875,7 +875,7 @@ Assuming we've just performed a `hif-token-regexp' lookup." | |||
| 875 | (setq end (or end (point))) | 875 | (setq end (or end (point))) |
| 876 | (while (and (> (1- end) 1) | 876 | (while (and (> (1- end) 1) |
| 877 | (hif-is-white (char-after (1- end)))) | 877 | (hif-is-white (char-after (1- end)))) |
| 878 | (cl-decf end)) | 878 | (decf end)) |
| 879 | (let ((p0 end) | 879 | (let ((p0 end) |
| 880 | p cmt ce ws we ;; ce:comment start, ws:white start, we whilte end | 880 | p cmt ce ws we ;; ce:comment start, ws:white start, we whilte end |
| 881 | cmtlist) ;; pair of (start.end) of comments | 881 | cmtlist) ;; pair of (start.end) of comments |
| @@ -938,7 +938,7 @@ Assuming we've just performed a `hif-token-regexp' lookup." | |||
| 938 | ;; Ignore leading whites ahead of comment | 938 | ;; Ignore leading whites ahead of comment |
| 939 | (while (and (> (1- cmt) 1) | 939 | (while (and (> (1- cmt) 1) |
| 940 | (hif-is-white (char-after (1- cmt)))) | 940 | (hif-is-white (char-after (1- cmt)))) |
| 941 | (cl-decf cmt)) | 941 | (decf cmt)) |
| 942 | (goto-char cmt))) | 942 | (goto-char cmt))) |
| 943 | 943 | ||
| 944 | (defun hif-tokenize (start end) | 944 | (defun hif-tokenize (start end) |
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index f2acf9f40d6..bb91eea93f2 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el | |||
| @@ -1031,7 +1031,7 @@ Return the pitem of the function we went to the beginning of." | |||
| 1031 | (setq found nil))) | 1031 | (setq found nil))) |
| 1032 | 1032 | ||
| 1033 | (while (> arg 0) | 1033 | (while (> arg 0) |
| 1034 | (cl-decf arg) | 1034 | (decf arg) |
| 1035 | ;; If we're just past the end of a function, the user probably wants | 1035 | ;; If we're just past the end of a function, the user probably wants |
| 1036 | ;; to go to the beginning of *that* function | 1036 | ;; to go to the beginning of *that* function |
| 1037 | (when (eq (char-before) ?}) | 1037 | (when (eq (char-before) ?}) |
| @@ -1367,7 +1367,7 @@ LIMIT defaults to point." | |||
| 1367 | (js-end-of-defun))) | 1367 | (js-end-of-defun))) |
| 1368 | 1368 | ||
| 1369 | (while (> arg 0) | 1369 | (while (> arg 0) |
| 1370 | (cl-decf arg) | 1370 | (decf arg) |
| 1371 | ;; look for function backward. if we're inside it, go to that | 1371 | ;; look for function backward. if we're inside it, go to that |
| 1372 | ;; function's end. otherwise, search for the next function's end and | 1372 | ;; function's end. otherwise, search for the next function's end and |
| 1373 | ;; go there | 1373 | ;; go there |
| @@ -4036,7 +4036,7 @@ See `treesit-thing-settings' for more information.") | |||
| 4036 | (ne (treesit-node-end node)) | 4036 | (ne (treesit-node-end node)) |
| 4037 | (syntax (pcase-exhaustive name | 4037 | (syntax (pcase-exhaustive name |
| 4038 | ('regexp | 4038 | ('regexp |
| 4039 | (cl-decf ns) | 4039 | (decf ns) |
| 4040 | (cl-incf ne) | 4040 | (cl-incf ne) |
| 4041 | (string-to-syntax "\"/")) | 4041 | (string-to-syntax "\"/")) |
| 4042 | ('jsx | 4042 | ('jsx |
diff --git a/lisp/progmodes/typescript-ts-mode.el b/lisp/progmodes/typescript-ts-mode.el index 43390cc19d2..34d9e8636d1 100644 --- a/lisp/progmodes/typescript-ts-mode.el +++ b/lisp/progmodes/typescript-ts-mode.el | |||
| @@ -679,7 +679,7 @@ at least 3 (which is the default value)." | |||
| 679 | (pcase-exhaustive name | 679 | (pcase-exhaustive name |
| 680 | ('regexp | 680 | ('regexp |
| 681 | (let ((syntax (string-to-syntax "\"/"))) | 681 | (let ((syntax (string-to-syntax "\"/"))) |
| 682 | (cl-decf ns) | 682 | (decf ns) |
| 683 | (cl-incf ne) | 683 | (cl-incf ne) |
| 684 | (put-text-property ns (1+ ns) 'syntax-table syntax) | 684 | (put-text-property ns (1+ ns) 'syntax-table syntax) |
| 685 | (put-text-property (1- ne) ne 'syntax-table syntax))) | 685 | (put-text-property (1- ne) ne 'syntax-table syntax))) |
diff --git a/lisp/rect.el b/lisp/rect.el index bc419c341a0..be99a3398df 100644 --- a/lisp/rect.el +++ b/lisp/rect.el | |||
| @@ -718,13 +718,13 @@ on. Only lasts until the region is next deactivated." | |||
| 718 | ((and (< nextcol curcol) (< curcol col)) | 718 | ((and (< nextcol curcol) (< curcol col)) |
| 719 | (let ((curdiff (- col curcol))) | 719 | (let ((curdiff (- col curcol))) |
| 720 | (if (<= curdiff n) | 720 | (if (<= curdiff n) |
| 721 | (progn (cl-decf n curdiff) (setq col curcol)) | 721 | (progn (decf n curdiff) (setq col curcol)) |
| 722 | (setq col (- col n) n 0)))) | 722 | (setq col (- col n) n 0)))) |
| 723 | ((< nextcol 0) (ding) (setq n 0 col 0)) ;Bumping into BOL! | 723 | ((< nextcol 0) (ding) (setq n 0 col 0)) ;Bumping into BOL! |
| 724 | ((= nextcol curcol) (funcall cmd 1)) | 724 | ((= nextcol curcol) (funcall cmd 1)) |
| 725 | (t ;; (> nextcol curcol) | 725 | (t ;; (> nextcol curcol) |
| 726 | (if (<= diff n) | 726 | (if (<= diff n) |
| 727 | (progn (cl-decf n diff) (setq col nextcol)) | 727 | (progn (decf n diff) (setq col nextcol)) |
| 728 | (setq col (if (< col nextcol) (+ col n) (- col n)) n 0)))) | 728 | (setq col (if (< col nextcol) (+ col n) (- col n)) n 0)))) |
| 729 | (setq step (1+ step)))) | 729 | (setq step (1+ step)))) |
| 730 | ;; FIXME: This rectangle--col-pos's move-to-column is wasted! | 730 | ;; FIXME: This rectangle--col-pos's move-to-column is wasted! |
diff --git a/lisp/term.el b/lisp/term.el index 67de50ad04f..a0ab2fc14e5 100644 --- a/lisp/term.el +++ b/lisp/term.el | |||
| @@ -3116,8 +3116,8 @@ See `term-prompt-regexp'." | |||
| 3116 | (substring decoded-substring (- partial))) | 3116 | (substring decoded-substring (- partial))) |
| 3117 | (setq decoded-substring | 3117 | (setq decoded-substring |
| 3118 | (substring decoded-substring 0 (- partial))) | 3118 | (substring decoded-substring 0 (- partial))) |
| 3119 | (cl-decf str-length partial) | 3119 | (decf str-length partial) |
| 3120 | (cl-decf funny partial)))) | 3120 | (decf funny partial)))) |
| 3121 | 3121 | ||
| 3122 | ;; Insert a string, check how many columns | 3122 | ;; Insert a string, check how many columns |
| 3123 | ;; we moved, then delete that many columns | 3123 | ;; we moved, then delete that many columns |
diff --git a/lisp/textmodes/reftex-cite.el b/lisp/textmodes/reftex-cite.el index 7e4d4e9f22a..fe6751a13f6 100644 --- a/lisp/textmodes/reftex-cite.el +++ b/lisp/textmodes/reftex-cite.el | |||
| @@ -744,7 +744,7 @@ While entering the regexp, completion on known citation keys is possible. | |||
| 744 | (if (> arg 1) | 744 | (if (> arg 1) |
| 745 | (progn | 745 | (progn |
| 746 | (skip-chars-backward "}") | 746 | (skip-chars-backward "}") |
| 747 | (cl-decf arg) | 747 | (decf arg) |
| 748 | (reftex-do-citation arg)) | 748 | (reftex-do-citation arg)) |
| 749 | (forward-char 1))) | 749 | (forward-char 1))) |
| 750 | 750 | ||
diff --git a/lisp/textmodes/reftex-index.el b/lisp/textmodes/reftex-index.el index a7930bb3c8f..5d4b1f38236 100644 --- a/lisp/textmodes/reftex-index.el +++ b/lisp/textmodes/reftex-index.el | |||
| @@ -1396,7 +1396,7 @@ Here are all local bindings. | |||
| 1396 | (interactive "p") | 1396 | (interactive "p") |
| 1397 | (reftex-index-phrases-parse-header t) | 1397 | (reftex-index-phrases-parse-header t) |
| 1398 | (while (> arg 0) | 1398 | (while (> arg 0) |
| 1399 | (cl-decf arg) | 1399 | (decf arg) |
| 1400 | (end-of-line) | 1400 | (end-of-line) |
| 1401 | (if (re-search-forward reftex-index-phrases-phrase-regexp12 nil t) | 1401 | (if (re-search-forward reftex-index-phrases-phrase-regexp12 nil t) |
| 1402 | (progn | 1402 | (progn |
diff --git a/lisp/textmodes/reftex-parse.el b/lisp/textmodes/reftex-parse.el index 855e11e1e49..d66b0b9064e 100644 --- a/lisp/textmodes/reftex-parse.el +++ b/lisp/textmodes/reftex-parse.el | |||
| @@ -1090,7 +1090,7 @@ When point is just after a { or [, limit string to matching parenthesis." | |||
| 1090 | (- (string-to-char number-string) ?A -1)) | 1090 | (- (string-to-char number-string) ?A -1)) |
| 1091 | (aset reftex-section-numbers i (string-to-number number-string))) | 1091 | (aset reftex-section-numbers i (string-to-number number-string))) |
| 1092 | (pop numbers)) | 1092 | (pop numbers)) |
| 1093 | (cl-decf i))) | 1093 | (decf i))) |
| 1094 | (put 'reftex-section-numbers 'appendix appendix)) | 1094 | (put 'reftex-section-numbers 'appendix appendix)) |
| 1095 | 1095 | ||
| 1096 | ;;;###autoload | 1096 | ;;;###autoload |
diff --git a/lisp/textmodes/reftex-sel.el b/lisp/textmodes/reftex-sel.el index c3b38ffd0a0..7286c214f7a 100644 --- a/lisp/textmodes/reftex-sel.el +++ b/lisp/textmodes/reftex-sel.el | |||
| @@ -705,8 +705,8 @@ Cycle in reverse order if optional argument REVERSE is non-nil." | |||
| 705 | (setq sep (nth 2 c)) | 705 | (setq sep (nth 2 c)) |
| 706 | (overlay-put (nth 1 c) 'before-string | 706 | (overlay-put (nth 1 c) 'before-string |
| 707 | (if sep | 707 | (if sep |
| 708 | (format "*%c%d* " sep (cl-decf cnt)) | 708 | (format "*%c%d* " sep (decf cnt)) |
| 709 | (format "*%d* " (cl-decf cnt))))) | 709 | (format "*%d* " (decf cnt))))) |
| 710 | reftex-select-marked) | 710 | reftex-select-marked) |
| 711 | (message "Entry no longer marked"))) | 711 | (message "Entry no longer marked"))) |
| 712 | 712 | ||
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el index 8088ab391f5..54085f7f9e3 100644 --- a/lisp/textmodes/reftex.el +++ b/lisp/textmodes/reftex.el | |||
| @@ -1149,7 +1149,7 @@ This enforces rescanning the buffer on next use." | |||
| 1149 | 1149 | ||
| 1150 | (defun reftex-silence-toc-markers (list n) | 1150 | (defun reftex-silence-toc-markers (list n) |
| 1151 | ;; Set all toc markers in the first N entries in list to nil | 1151 | ;; Set all toc markers in the first N entries in list to nil |
| 1152 | (while (and list (> (cl-decf n) -1)) | 1152 | (while (and list (> (decf n) -1)) |
| 1153 | (and (eq (car (car list)) 'toc) | 1153 | (and (eq (car (car list)) 'toc) |
| 1154 | (markerp (nth 4 (car list))) | 1154 | (markerp (nth 4 (car list))) |
| 1155 | (set-marker (nth 4 (car list)) nil)) | 1155 | (set-marker (nth 4 (car list)) nil)) |
diff --git a/lisp/treesit.el b/lisp/treesit.el index fe0dc38f324..6b7f54a04e7 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el | |||
| @@ -3376,7 +3376,7 @@ function is called recursively." | |||
| 3376 | ;; Normal case. | 3376 | ;; Normal case. |
| 3377 | (setq pos (funcall advance (or prev parent)))))) | 3377 | (setq pos (funcall advance (or prev parent)))))) |
| 3378 | ;; A successful step! Decrement counter. | 3378 | ;; A successful step! Decrement counter. |
| 3379 | (cl-decf counter)))) | 3379 | (decf counter)))) |
| 3380 | ;; Counter equal to 0 means we successfully stepped ARG steps. | 3380 | ;; Counter equal to 0 means we successfully stepped ARG steps. |
| 3381 | (if (eq counter 0) pos nil))) | 3381 | (if (eq counter 0) pos nil))) |
| 3382 | 3382 | ||
diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el index 5906f8a0571..cbdb721e8fa 100644 --- a/lisp/vc/diff-mode.el +++ b/lisp/vc/diff-mode.el | |||
| @@ -1713,7 +1713,7 @@ Only works for unified diffs." | |||
| 1713 | (cond | 1713 | (cond |
| 1714 | ((and (memq (char-after) '(?\s ?! ?+ ?-)) | 1714 | ((and (memq (char-after) '(?\s ?! ?+ ?-)) |
| 1715 | (memq (char-after (1+ (point))) '(?\s ?\t))) | 1715 | (memq (char-after (1+ (point))) '(?\s ?\t))) |
| 1716 | (cl-decf count) t) | 1716 | (decf count) t) |
| 1717 | ((or (zerop count) (= count lines)) nil) | 1717 | ((or (zerop count) (= count lines)) nil) |
| 1718 | ((memq (char-after) '(?! ?+ ?-)) | 1718 | ((memq (char-after) '(?! ?+ ?-)) |
| 1719 | (if (not (and (eq (char-after (1+ (point))) ?\n) | 1719 | (if (not (and (eq (char-after (1+ (point))) ?\n) |
| @@ -1765,7 +1765,7 @@ Only works for unified diffs." | |||
| 1765 | (forward-line) | 1765 | (forward-line) |
| 1766 | (while | 1766 | (while |
| 1767 | (pcase (char-after) | 1767 | (pcase (char-after) |
| 1768 | (?\s (cl-decf before) (cl-decf after) t) | 1768 | (?\s (decf before) (decf after) t) |
| 1769 | (?- | 1769 | (?- |
| 1770 | (cond | 1770 | (cond |
| 1771 | ((and (looking-at diff-separator-re) | 1771 | ((and (looking-at diff-separator-re) |
| @@ -1780,15 +1780,15 @@ Only works for unified diffs." | |||
| 1780 | ;; will not get confused. | 1780 | ;; will not get confused. |
| 1781 | (save-excursion (insert "\n")) nil) | 1781 | (save-excursion (insert "\n")) nil) |
| 1782 | (t | 1782 | (t |
| 1783 | (cl-decf before) t))) | 1783 | (decf before) t))) |
| 1784 | (?+ (cl-decf after) t) | 1784 | (?+ (decf after) t) |
| 1785 | (_ | 1785 | (_ |
| 1786 | (cond | 1786 | (cond |
| 1787 | ((and diff-valid-unified-empty-line | 1787 | ((and diff-valid-unified-empty-line |
| 1788 | ;; Not just (eolp) so we don't infloop at eob. | 1788 | ;; Not just (eolp) so we don't infloop at eob. |
| 1789 | (eq (char-after) ?\n) | 1789 | (eq (char-after) ?\n) |
| 1790 | (> before 0) (> after 0)) | 1790 | (> before 0) (> after 0)) |
| 1791 | (cl-decf before) (cl-decf after) t) | 1791 | (decf before) (decf after) t) |
| 1792 | ((and (zerop before) (zerop after)) nil) | 1792 | ((and (zerop before) (zerop after)) nil) |
| 1793 | ((or (< before 0) (< after 0)) | 1793 | ((or (< before 0) (< after 0)) |
| 1794 | (error (if (or (zerop before) (zerop after)) | 1794 | (error (if (or (zerop before) (zerop after)) |
diff --git a/lisp/vc/pcvs-util.el b/lisp/vc/pcvs-util.el index a1d6214eaa1..dabf753dd82 100644 --- a/lisp/vc/pcvs-util.el +++ b/lisp/vc/pcvs-util.el | |||
| @@ -46,7 +46,7 @@ | |||
| 46 | (while (and l (> n 1)) | 46 | (while (and l (> n 1)) |
| 47 | (setcdr nl (list (pop l))) | 47 | (setcdr nl (list (pop l))) |
| 48 | (setq nl (cdr nl)) | 48 | (setq nl (cdr nl)) |
| 49 | (cl-decf n)) | 49 | (decf n)) |
| 50 | ret)))) | 50 | ret)))) |
| 51 | 51 | ||
| 52 | (defun cvs-partition (p l) | 52 | (defun cvs-partition (p l) |
diff --git a/lisp/vc/smerge-mode.el b/lisp/vc/smerge-mode.el index f77b73c6170..d1b27f6763b 100644 --- a/lisp/vc/smerge-mode.el +++ b/lisp/vc/smerge-mode.el | |||
| @@ -724,7 +724,7 @@ this keeps \"UUU\"." | |||
| 724 | (while (or (not (match-end i)) | 724 | (while (or (not (match-end i)) |
| 725 | (< (point) (match-beginning i)) | 725 | (< (point) (match-beginning i)) |
| 726 | (> (point) (match-end i))) | 726 | (> (point) (match-end i))) |
| 727 | (cl-decf i)) | 727 | (decf i)) |
| 728 | i)) | 728 | i)) |
| 729 | 729 | ||
| 730 | (defun smerge-keep-current () | 730 | (defun smerge-keep-current () |
diff --git a/lisp/vc/vc-hg.el b/lisp/vc/vc-hg.el index 21292be09fb..afc31be8ef1 100644 --- a/lisp/vc/vc-hg.el +++ b/lisp/vc/vc-hg.el | |||
| @@ -850,7 +850,7 @@ if we don't understand a construct, we signal | |||
| 850 | (push "(?:" parts)) | 850 | (push "(?:" parts)) |
| 851 | ((eq c ?\}) | 851 | ((eq c ?\}) |
| 852 | (push ?\) parts) | 852 | (push ?\) parts) |
| 853 | (cl-decf group)) | 853 | (decf group)) |
| 854 | ((and (eq c ?,) (> group 0)) | 854 | ((and (eq c ?,) (> group 0)) |
| 855 | (push ?| parts)) | 855 | (push ?| parts)) |
| 856 | ((eq c ?\\) | 856 | ((eq c ?\\) |
diff --git a/test/lisp/net/socks-tests.el b/test/lisp/net/socks-tests.el index bc9150f84fc..7531ff70846 100644 --- a/test/lisp/net/socks-tests.el +++ b/test/lisp/net/socks-tests.el | |||
| @@ -181,7 +181,7 @@ Vectors must match verbatim. Strings are considered regex patterns.") | |||
| 181 | (buf (url-http url cb '(nil))) | 181 | (buf (url-http url cb '(nil))) |
| 182 | (proc (get-buffer-process buf)) | 182 | (proc (get-buffer-process buf)) |
| 183 | (attempts 10)) | 183 | (attempts 10)) |
| 184 | (while (and (not done) (< 0 (cl-decf attempts))) | 184 | (while (and (not done) (< 0 (decf attempts))) |
| 185 | (sleep-for 0.1)) | 185 | (sleep-for 0.1)) |
| 186 | (should done) | 186 | (should done) |
| 187 | (delete-process server) | 187 | (delete-process server) |
diff --git a/test/src/buffer-tests.el b/test/src/buffer-tests.el index e5369f5363d..4d608fa9d24 100644 --- a/test/src/buffer-tests.el +++ b/test/src/buffer-tests.el | |||
| @@ -1790,7 +1790,7 @@ dicta sunt, explicabo. ")) | |||
| 1790 | (when (< index last-index) | 1790 | (when (< index last-index) |
| 1791 | (aset overlays index (aref overlays last-index))) | 1791 | (aset overlays index (aref overlays last-index))) |
| 1792 | (aset overlays last-index nil) | 1792 | (aset overlays last-index nil) |
| 1793 | (cl-decf overlay-count) | 1793 | (decf overlay-count) |
| 1794 | (delete-overlay ov))))) | 1794 | (delete-overlay ov))))) |
| 1795 | 1795 | ||
| 1796 | ;; Modify the buffer on occasion, which exercises the | 1796 | ;; Modify the buffer on occasion, which exercises the |