diff options
Diffstat (limited to 'lisp/international/mule-util.el')
| -rw-r--r-- | lisp/international/mule-util.el | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lisp/international/mule-util.el b/lisp/international/mule-util.el index 5cc10b1315a..660ac58e022 100644 --- a/lisp/international/mule-util.el +++ b/lisp/international/mule-util.el | |||
| @@ -275,15 +275,6 @@ operations such as `find-coding-systems-region'." | |||
| 275 | (put 'with-coding-priority 'edebug-form-spec t) | 275 | (put 'with-coding-priority 'edebug-form-spec t) |
| 276 | 276 | ||
| 277 | ;;;###autoload | 277 | ;;;###autoload |
| 278 | (defmacro detect-coding-with-priority (from to priority-list) | ||
| 279 | "Detect a coding system of the text between FROM and TO with PRIORITY-LIST. | ||
| 280 | PRIORITY-LIST is an alist of coding categories vs the corresponding | ||
| 281 | coding systems ordered by priority." | ||
| 282 | (declare (obsolete with-coding-priority "23.1")) | ||
| 283 | `(with-coding-priority (mapcar #'cdr ,priority-list) | ||
| 284 | (detect-coding-region ,from ,to))) | ||
| 285 | |||
| 286 | ;;;###autoload | ||
| 287 | (defun detect-coding-with-language-environment (from to lang-env) | 278 | (defun detect-coding-with-language-environment (from to lang-env) |
| 288 | "Detect a coding system for the text between FROM and TO with LANG-ENV. | 279 | "Detect a coding system for the text between FROM and TO with LANG-ENV. |
| 289 | The detection takes into account the coding system priorities for the | 280 | The detection takes into account the coding system priorities for the |