(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.
This commit is contained in:
parent
3d4543401a
commit
7bf880c67e
2 changed files with 18 additions and 6 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-03-16 Kenichi Handa <handa@m17n.org>
|
||||
|
||||
* language/ethio-util.el (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.
|
||||
|
||||
2005-03-16 Juri Linkov <juri@jurta.org>
|
||||
|
||||
* emacs-lisp/find-func.el (find-function-regexp):
|
||||
|
|
|
@ -419,6 +419,8 @@ If nil, use uppercases.")
|
|||
|
||||
;; To avoid byte-compiler warnings. It should never be set globally.
|
||||
(defvar ethio-sera-being-called-by-w3)
|
||||
;; This variable will be bound by some third-party package.
|
||||
(defvar sera-being-called-by-w3)
|
||||
|
||||
;;;###autoload
|
||||
(defun ethio-sera-to-fidel-region (beg end &optional secondary force)
|
||||
|
@ -590,9 +592,11 @@ the conversion of \"a\"."
|
|||
(cond
|
||||
|
||||
;; skip from "<" to ">" (or from "&" to ";") if in w3-mode
|
||||
((and (boundp 'ethio-sera-being-called-by-w3)
|
||||
ethio-sera-being-called-by-w3
|
||||
(or (= ch ?<) (= ch ?&)))
|
||||
((and (or (= ch ?<) (= ch ?&))
|
||||
(or (and (boundp 'ethio-sera-being-called-by-w3)
|
||||
ethio-sera-being-called-by-w3)
|
||||
(and (boundp 'sera-being-called-by-w3)
|
||||
sera-being-called-by-w3)))
|
||||
(search-forward (if (= ch ?<) ">" ";")
|
||||
nil 0))
|
||||
|
||||
|
@ -1177,9 +1181,11 @@ See also the descriptions of the variables
|
|||
(goto-char (1+ (match-end 0)))) ; because we inserted one byte (\)
|
||||
|
||||
;; skip from "<" to ">" (or from "&" to ";") if called from w3
|
||||
((and (boundp 'ethio-sera-being-called-by-w3)
|
||||
ethio-sera-being-called-by-w3
|
||||
(or (= ch ?<) (= ch ?&)))
|
||||
((and (or (= ch ?<) (= ch ?&))
|
||||
(or (and (boundp 'ethio-sera-being-called-by-w3)
|
||||
ethio-sera-being-called-by-w3)
|
||||
(and (boundp 'sera-being-called-by-w3)
|
||||
sera-being-called-by-w3)))
|
||||
(search-forward (if (= ch ?<) ">" ";")
|
||||
nil 0))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue