comparison lisp/international/mule.el @ 42011:235915876f5b

(set-auto-coding): Don't search for "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 13 Dec 2001 14:41:19 +0000
parents 8acbb96a91c3
children 28a141684094
comparison
equal deleted inserted replaced
42010:eb720810e87f 42011:235915876f5b
1386 ;; At first check the head. 1386 ;; At first check the head.
1387 (when head-found 1387 (when head-found
1388 (goto-char head-start) 1388 (goto-char head-start)
1389 (setq head-end (set-auto-mode-1)) 1389 (setq head-end (set-auto-mode-1))
1390 (setq head-start (point)) 1390 (setq head-start (point))
1391 (when (< head-found head-end) 1391 (when (and head-end (< head-found head-end))
1392 (goto-char head-start) 1392 (goto-char head-start)
1393 (when (and set-auto-coding-for-load 1393 (when (and set-auto-coding-for-load
1394 (re-search-forward 1394 (re-search-forward
1395 "\\(.*;\\)?[ \t]*unibyte:[ \t]*\\([^ ;]+\\)" 1395 "\\(.*;\\)?[ \t]*unibyte:[ \t]*\\([^ ;]+\\)"
1396 head-end t)) 1396 head-end t))