summaryrefslogtreecommitdiff
path: root/lisp/language/china-util.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-03-10 23:08:37 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-03-10 23:11:21 -0700
commite81c44fdb4110a1e5af97669c1a7ef8277528b6c (patch)
tree42520d445baebffae83eae85391f9e3ebd56d6cb /lisp/language/china-util.el
parente2f35443796d423ea5f96a99da425a927327deb2 (diff)
downloademacs-e81c44fdb4110a1e5af97669c1a7ef8277528b6c.tar.gz
emacs-e81c44fdb4110a1e5af97669c1a7ef8277528b6c.tar.bz2
emacs-e81c44fdb4110a1e5af97669c1a7ef8277528b6c.zip
More regexp corrections and tweaks
Problems reported by Mattias EngdegÄrd in: https://lists.gnu.org/r/emacs-devel/2019-03/msg00247.html * lisp/align.el (align-rules-list): * lisp/comint.el (comint-output-filter): * lisp/language/china-util.el (encode-hz-region): * lisp/progmodes/cperl-mode.el (cperl-indent-exp): * lisp/progmodes/idlwave.el (idlwave-is-pointer-dereference): * lisp/progmodes/scheme.el (dsssl-font-lock-keywords): * lisp/textmodes/texinfmt.el (texinfo-accent-commands): * test/src/regex-emacs-tests.el (regex-tests-re-even-escapes): Fix some regular-expression typos.
Diffstat (limited to 'lisp/language/china-util.el')
-rw-r--r--lisp/language/china-util.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/language/china-util.el b/lisp/language/china-util.el
index 70710bac18a..16385651335 100644
--- a/lisp/language/china-util.el
+++ b/lisp/language/china-util.el
@@ -168,7 +168,7 @@ Return the length of resulting text."
;; ESC ESC -> ESC
(delete-char 1)
(forward-char -1)
- (if (looking-at iso2022-gb-designation)
+ (if (looking-at "\e\\$A")
(progn
(delete-region (match-beginning 0) (match-end 0))
(insert hz-gb-designation)