comparison lisp/language/tml-util.el @ 88155:d7ddb3e565de

sync with trunk
author Henrik Enberg <henrik.enberg@telia.com>
date Mon, 16 Jan 2006 00:03:54 +0000
parents 369dbdebd88a
children
comparison
equal deleted inserted replaced
88154:8ce476d3ba36 88155:d7ddb3e565de
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;; GNU General Public License for more details. 18 ;; GNU General Public License for more details.
19 19
20 ;; You should have received a copy of the GNU General Public License 20 ;; You should have received a copy of the GNU General Public License
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the 21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, 22 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23 ;; Boston, MA 02111-1307, USA. 23 ;; Boston, MA 02110-1301, USA.
24 24
25 ;; Created: Nov. 08. 2002 25 ;; Created: Nov. 08. 2002
26 26
27 ;;; Commentary: 27 ;;; Commentary:
28 28
74 (with-temp-buffer 74 (with-temp-buffer
75 (insert (decompose-string string)) 75 (insert (decompose-string string))
76 (tamil-compose-region (point-min) (point-max)) 76 (tamil-compose-region (point-min) (point-max))
77 (buffer-string))) 77 (buffer-string)))
78 78
79 ;;;###autoload
79 (defun tamil-post-read-conversion (len) 80 (defun tamil-post-read-conversion (len)
80 (save-excursion 81 (save-excursion
81 (save-restriction 82 (save-restriction
82 (let ((buffer-modified-p (buffer-modified-p))) 83 (let ((buffer-modified-p (buffer-modified-p)))
83 (narrow-to-region (point) (+ (point) len)) 84 (narrow-to-region (point) (+ (point) len))
362 glyph-str)))) 363 glyph-str))))
363 (compose-region from to glyph-str))))) 364 (compose-region from to glyph-str)))))
364 365
365 (provide 'tml-util) 366 (provide 'tml-util)
366 367
368 ;;; arch-tag: 4d1c9737-e7b1-44cf-a040-4f64c50e773e
367 ;;; tml-util.el ends here 369 ;;; tml-util.el ends here