(make-char charset (+ i start) start)
(make-char charset (+ i start) (+ start chars -1)))))))
-(defun register-char-codings (coding-system safe-chars)
- "This is an obsolete function.
-It exists just for backward compatibility, and it does nothing.")
+(defalias 'register-char-codings 'ignore "")
(make-obsolete 'register-char-codings
- "Unnecessary function. Calling it has no effect."
+ "it exists just for backward compatibility, and does nothing."
"21.3")
(defconst char-coding-system-table nil
(let* ((M (char-after (+ pos 4)))
(L (char-after (+ pos 5)))
(encoding (match-string 2))
- (encoding-info (assoc-string
+ (encoding-info (assoc-string
encoding
ctext-non-standard-encodings-alist t))
(coding (if encoding-info
(dolist (elt charset)
(aset table (make-char elt) slot)))
((char-table-p charset)
- (map-char-table #'(lambda (k v)
+ (map-char-table #'(lambda (k v)
(if (and v (> k 128)) (aset table k slot)))
charset))))))
table))
(- (point) last-pos)))
(save-excursion
(goto-char last-pos)
- (insert (string-to-multibyte
+ (insert (string-to-multibyte
(format "\e%%/%d%c%c%s\ 2"
noctets
(+ (/ len 128) 128)
(goto-char tail-start)
(re-search-forward "[\r\n]\^L" nil t)
(if (re-search-forward
- "[\r\n]\\([^[\r\n]*\\)[ \t]*Local Variables:[ \t]*\\([^\r\n]*\\)[\r\n]"
+ "[\r\n]\\([^[\r\n]*\\)[ \t]*Local Variables:[ \t]*\\([^\r\n]*\\)[\r\n]"
tail-end t)
;; The prefix is what comes before "local variables:" in its
;; line. The suffix is what comes after "local variables:"
"[ \t]*unibyte[ \t]*:[ \t]*\\([^ \t\r\n]+\\)[ \t]*"
suffix "[\r\n]"))
(re-end
- (concat "[\r\n]" prefix "[ \t]*End *:[ \t]*" suffix
+ (concat "[\r\n]" prefix "[ \t]*End *:[ \t]*" suffix
"[\r\n]?"))
(pos (1- (point))))
(forward-char -1) ; skip back \r or \n.