]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove Emacs 22 compat code from abbrev.el
authorStefan Kangas <stefankangas@gmail.com>
Sat, 16 May 2020 15:02:18 +0000 (17:02 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sat, 16 May 2020 15:43:30 +0000 (17:43 +0200)
* lisp/abbrev.el (write-abbrev-file): Remove Emacs 22
compatibility code.

lisp/abbrev.el

index 190b3504fa761ec67b79ec498214e4006d420a9c..2d61a96010e72f9481893ce0bb3534a7825105e6 100644 (file)
@@ -255,11 +255,7 @@ have been saved."
        (if (abbrev--table-symbols table)
             (insert-abbrev-table-description table nil)))
       (when (unencodable-char-position (point-min) (point-max) 'utf-8)
-       (setq coding-system-for-write
-             (if (> emacs-major-version 24)
-                 'utf-8-emacs
-               ;; For compatibility with Emacs 22 (See Bug#8308)
-               'emacs-mule)))
+       (setq coding-system-for-write 'utf-8-emacs))
       (goto-char (point-min))
       (insert (format ";;-*-coding: %s;-*-\n" coding-system-for-write))
       (write-region nil nil file nil (and (not verbose) 0)))))