mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-23 22:20:24 -08:00
Merge from origin/emacs-27
6de20c7eab(origin/emacs-27) Fix syntax error in man page.f8607d3c03Handle filling of indented ChangeLog function entries7e78f0d1b2Fix void-variable n-reb in re-builder (Bug#40409)452d776a5dFix small bug in copy_string_contents.fa823653ffFix invocations of gpg from Gnusd4f51d0a2eDon't draw GTK's internal border and tab bar on top of eac...38731d504e; * src/buffer.c (syms_of_buffer) <inhibit-read-only>: Doc...44ac9e48bbTweak htmlfontify's generated output
This commit is contained in:
commit
333f63d537
9 changed files with 54 additions and 25 deletions
|
|
@ -767,22 +767,21 @@ If SUBEXP is non-nil mark only the corresponding sub-expressions."
|
|||
(reb-mark-non-matching-parenthesis))
|
||||
nil)))
|
||||
|
||||
(defsubst reb-while (limit counter where)
|
||||
(let ((count (symbol-value counter)))
|
||||
(if (= count limit)
|
||||
(progn
|
||||
(message "Reached (while limit=%s, where=%s)" limit where)
|
||||
nil)
|
||||
(set counter (1+ count)))))
|
||||
(defsubst reb-while (limit current where)
|
||||
(if (< current limit)
|
||||
(1+ current)
|
||||
(message "Reached (while limit=%s, where=%s)" limit where)
|
||||
nil))
|
||||
|
||||
(defun reb-mark-non-matching-parenthesis (bound)
|
||||
;; We have a small string, check the whole of it, but wait until
|
||||
;; everything else is fontified.
|
||||
(when (>= bound (point-max))
|
||||
(let (left-pars
|
||||
(let ((n-reb 0)
|
||||
left-pars
|
||||
faces-here)
|
||||
(goto-char (point-min))
|
||||
(while (and (reb-while 100 'n-reb "mark-par")
|
||||
(while (and (setq n-reb (reb-while 100 n-reb "mark-par"))
|
||||
(not (eobp)))
|
||||
(skip-chars-forward "^()")
|
||||
(unless (eobp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue