Function: ethio-sera-to-fidel-region-noethio
ethio-sera-to-fidel-region-noethio is a byte-compiled function defined
in ethio-util.el.gz.
Signature
(ethio-sera-to-fidel-region-noethio)
Documentation
Return next language as symbol: amharic, tigrigna, toggle or nil.
Source Code
;; Defined in /usr/src/emacs/lisp/language/ethio-util.el.gz
(defun ethio-sera-to-fidel-region-noethio ()
"Return next language as symbol: amharic, tigrigna, toggle or nil."
(let (lflag)
(cond
;; No more "\", i.e. nothing to do.
((not (search-forward "\\" nil 0))
nil)
;; Hereafter point is put after a "\".
;; First delete that "\", then check the following chars.
;; A language flag.
((progn (delete-char -1) (setq lflag (ethio-process-language-flag)))
lflag)
;; "\\" : leave the second "\" and continue in the same language.
((= (following-char) ?\\)
(forward-char 1)
nil)
;; "\ " : delete the following " " and toggle the language.
((= (following-char) 32)
(delete-char 1)
'toggle)
;; A "\" but not a special sequence: simply toggle the language.
(t
'toggle))))