emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/xah-fly-keys 9dbd392b20 1/2: xah-upcase-sentence now prope


From: ELPA Syncer
Subject: [nongnu] elpa/xah-fly-keys 9dbd392b20 1/2: xah-upcase-sentence now properly handle text inside html title tag
Date: Mon, 29 Aug 2022 17:59:11 -0400 (EDT)

branch: elpa/xah-fly-keys
commit 9dbd392b2021c8d9678db3c02f54dcb460fc2558
Author: Xah Lee <xah@xahlee.org>
Commit: Xah Lee <xah@xahlee.org>

    xah-upcase-sentence now properly handle text inside html title tag
---
 xah-fly-keys.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/xah-fly-keys.el b/xah-fly-keys.el
index 44de4e2f8c..ebb8159508 100644
--- a/xah-fly-keys.el
+++ b/xah-fly-keys.el
@@ -4,7 +4,7 @@
 
 ;; Author: Xah Lee ( http://xahlee.info/ )
 ;; Maintainer: Xah Lee <xah@xahlee.org>
-;; Version: 17.20.20220819141933
+;; Version: 17.20.20220828145856
 ;; Created: 10 Sep 2013
 ;; Package-Requires: ((emacs "24.1"))
 ;; Keywords: convenience, emulations, vim, ergoemacs
@@ -926,7 +926,7 @@ Version: 2015-12-22"
   "Upcase first letters of sentences of current block or selection.
 
 URL `http://xahlee.info/emacs/emacs/emacs_upcase_sentence.html'
-Version: 2020-12-08 2020-12-24 2021-08-13 2022-05-16"
+Version: 2020-12-08 2020-12-24 2021-08-13 2022-05-16 2022-08-27"
   (interactive)
   (let ($p1 $p2)
     (let (($bds (xah-get-bounds-of-block-or-region))) (setq $p1 (car $bds) $p2 
(cdr $bds)))
@@ -954,7 +954,7 @@ Version: 2020-12-08 2020-12-24 2021-08-13 2022-05-16"
              (eq major-mode 'mhtml-mode))
           (goto-char (point-min))
           (while
-              (re-search-forward "\\(<h[1-6]>[ \n]?\\|<p>[ \n]?\\|<li>[ 
\n]?\\|<dd>[ \n]?\\|<td>[ \n]?\\|<br ?/?>[ \n]?\\|<figcaption>[ 
\n]?\\)\\([a-z]\\)" nil 1)
+              (re-search-forward "\\(<title>[ \n]?\\|<h[1-6]>[ \n]?\\|<p>[ 
\n]?\\|<li>[ \n]?\\|<dd>[ \n]?\\|<td>[ \n]?\\|<br ?/?>[ \n]?\\|<figcaption>[ 
\n]?\\)\\([a-z]\\)" nil 1)
             (upcase-region (match-beginning 2) (match-end 2))
             (overlay-put (make-overlay (match-beginning 2) (match-end 2)) 
'face 'highlight))))
       (goto-char (point-max)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]