summary refs log tree commit diff stats
path: root/lisp/compat.el
blob: 0cc4c42bdc7daf411ba24108dbb876f6279dfb86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;;; compat.el --- Thin backward-compatibility shim -*- lexical-binding: t; -*-

;;; Commentary:

;; I use different versionso of Emacs.  Sometimes I have to copy-paste functions
;; from newer Emacs to make my customizations work.  This is that file.

;; This is probably ill-advised.

;;; Code:

;; Load stuff in compat/ subdirectory
(dolist (file (directory-files (locate-user-emacs-file "lisp/compat") :full "\\.el\\'"))
  (load file :noerror))

(provide 'compat)
;;; compat.el ends here