Mercurial > emacs
comparison lisp/international/mule-util.el @ 89500:e8de75a86fbc
(detect-coding-with-language-environment): Doc fix.
author | Dave Love <fx@gnu.org> |
---|---|
date | Thu, 11 Sep 2003 09:51:13 +0000 |
parents | 2f877ed80fa6 |
children | 68c22ea6027c |
comparison
equal
deleted
inserted
replaced
89499:47e2e534b750 | 89500:e8de75a86fbc |
---|---|
356 (make-obsolete 'detect-coding-with-priority | 356 (make-obsolete 'detect-coding-with-priority |
357 "Use with-coding-priority and detect-coding-region" "22.1") | 357 "Use with-coding-priority and detect-coding-region" "22.1") |
358 | 358 |
359 ;;;###autoload | 359 ;;;###autoload |
360 (defun detect-coding-with-language-environment (from to lang-env) | 360 (defun detect-coding-with-language-environment (from to lang-env) |
361 "Detect a coding system of the text between FROM and TO with LANG-ENV. | 361 "Detect a coding system for the text between FROM and TO with LANG-ENV. |
362 The detection takes into account the coding system priorities for the | 362 The detection takes into account the coding system priorities for the |
363 language environment LANG-ENV." | 363 language environment LANG-ENV." |
364 (let ((coding-priority (get-language-info lang-env 'coding-priority))) | 364 (let ((coding-priority (get-language-info lang-env 'coding-priority))) |
365 (if coding-priority | 365 (if coding-priority |
366 (with-coding-priority coding-priority | 366 (with-coding-priority coding-priority |