Parcourir la source

org-table: for compatibility, use org-file-equal-p

* lisp/org-table.el: Predicate function `file-equal-p' is not
  available in older Emacsen, use compatibility function
  `org-file-equal-p' instead.
Achim Gratz il y a 10 ans
Parent
commit
1483df8c99
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lisp/org-table.el

+ 1 - 1
lisp/org-table.el

@@ -619,7 +619,7 @@ extension of the given file name, and finally on the variable
     (when (file-directory-p file)
       (user-error "This is a directory path, not a file"))
     (when (and (buffer-file-name (buffer-base-buffer))
-	       (file-equal-p
+	       (org-file-equal-p
 		(file-truename file)
 		(file-truename (buffer-file-name (buffer-base-buffer)))))
       (user-error "Please specify a file name that is different from current"))