(mu-cite-load-registration-file): Check for the existence of
authoryamaoka <yamaoka>
Thu, 22 Jul 1999 10:47:42 +0000 (10:47 +0000)
committeryamaoka <yamaoka>
Thu, 22 Jul 1999 10:47:42 +0000 (10:47 +0000)
`buffer-file-coding-system' or `file-coding-system'.

mu-register.el

index b3a5023..5488dd3 100644 (file)
             mu-registration-file)
          (insert-file-contents mu-registration-file))
        (setq mu-registration-file-coding-system
-             (static-if (<= emacs-major-version 19)
-                 file-coding-system
-               buffer-file-coding-system))
+             (static-cond
+              ((boundp 'buffer-file-coding-system)
+               (symbol-value 'buffer-file-coding-system))
+              ((boundp 'file-coding-system)
+               (symbol-value 'file-coding-system))
+              (t
+               nil)))
        (let ((exp (read (current-buffer))))
          (or (eq (car (cdr exp)) mu-registration-symbol)
              (setcar (cdr exp) mu-registration-symbol))