aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2005-03-16 11:34:41 +0000
committerKenichi Handa2005-03-16 11:34:41 +0000
commit7bf880c67e5fc4a8faa2bf54f99032b13f7aee6a (patch)
tree8ae91eee8459d9e10403e737b019ccc36ad8e083
parent3d4543401ae404bd47b097985fd98100d283ac6e (diff)
downloademacs-7bf880c67e5fc4a8faa2bf54f99032b13f7aee6a.tar.gz
emacs-7bf880c67e5fc4a8faa2bf54f99032b13f7aee6a.zip
(sera-being-called-by-w3): New variable.
(ethio-sera-to-fidel-ethio): Check also sera-being-called-by-w3. (ethio-fidel-to-sera-buffer): Likewise.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/language/ethio-util.el18
2 files changed, 18 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e9cd1862d0b..3e35a60aa8f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12005-03-16 Kenichi Handa <handa@m17n.org>
2
3 * language/ethio-util.el (sera-being-called-by-w3): New variable.
4 (ethio-sera-to-fidel-ethio): Check also sera-being-called-by-w3.
5 (ethio-fidel-to-sera-buffer): Likewise.
6
12005-03-16 Juri Linkov <juri@jurta.org> 72005-03-16 Juri Linkov <juri@jurta.org>
2 8
3 * emacs-lisp/find-func.el (find-function-regexp): 9 * emacs-lisp/find-func.el (find-function-regexp):
diff --git a/lisp/language/ethio-util.el b/lisp/language/ethio-util.el
index 5a81f59f9dc..aec352a5f75 100644
--- a/lisp/language/ethio-util.el
+++ b/lisp/language/ethio-util.el
@@ -419,6 +419,8 @@ If nil, use uppercases.")
419 419
420;; To avoid byte-compiler warnings. It should never be set globally. 420;; To avoid byte-compiler warnings. It should never be set globally.
421(defvar ethio-sera-being-called-by-w3) 421(defvar ethio-sera-being-called-by-w3)
422;; This variable will be bound by some third-party package.
423(defvar sera-being-called-by-w3)
422 424
423;;;###autoload 425;;;###autoload
424(defun ethio-sera-to-fidel-region (beg end &optional secondary force) 426(defun ethio-sera-to-fidel-region (beg end &optional secondary force)
@@ -590,9 +592,11 @@ the conversion of \"a\"."
590 (cond 592 (cond
591 593
592 ;; skip from "<" to ">" (or from "&" to ";") if in w3-mode 594 ;; skip from "<" to ">" (or from "&" to ";") if in w3-mode
593 ((and (boundp 'ethio-sera-being-called-by-w3) 595 ((and (or (= ch ?<) (= ch ?&))
594 ethio-sera-being-called-by-w3 596 (or (and (boundp 'ethio-sera-being-called-by-w3)
595 (or (= ch ?<) (= ch ?&))) 597 ethio-sera-being-called-by-w3)
598 (and (boundp 'sera-being-called-by-w3)
599 sera-being-called-by-w3)))
596 (search-forward (if (= ch ?<) ">" ";") 600 (search-forward (if (= ch ?<) ">" ";")
597 nil 0)) 601 nil 0))
598 602
@@ -1177,9 +1181,11 @@ See also the descriptions of the variables
1177 (goto-char (1+ (match-end 0)))) ; because we inserted one byte (\) 1181 (goto-char (1+ (match-end 0)))) ; because we inserted one byte (\)
1178 1182
1179 ;; skip from "<" to ">" (or from "&" to ";") if called from w3 1183 ;; skip from "<" to ">" (or from "&" to ";") if called from w3
1180 ((and (boundp 'ethio-sera-being-called-by-w3) 1184 ((and (or (= ch ?<) (= ch ?&))
1181 ethio-sera-being-called-by-w3 1185 (or (and (boundp 'ethio-sera-being-called-by-w3)
1182 (or (= ch ?<) (= ch ?&))) 1186 ethio-sera-being-called-by-w3)
1187 (and (boundp 'sera-being-called-by-w3)
1188 sera-being-called-by-w3)))
1183 (search-forward (if (= ch ?<) ">" ";") 1189 (search-forward (if (= ch ?<) ">" ";")
1184 nil 0)) 1190 nil 0))
1185 1191