diff options
Diffstat (limited to 'emacs/caml-compat.el')
-rw-r--r-- | emacs/caml-compat.el | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/emacs/caml-compat.el b/emacs/caml-compat.el deleted file mode 100644 index 63b4a480fd..0000000000 --- a/emacs/caml-compat.el +++ /dev/null @@ -1,28 +0,0 @@ -;; function definitions for old versions of emacs - -;; indent-line-to - -(if (not (fboundp 'indent-line-to)) - (defun indent-line-to (column) - "Indent current line to COLUMN. - -This function removes or adds spaces and tabs at beginning of line -only if necessary. It leaves point at end of indentation." - (if (= (current-indentation) column) - (back-to-indentation) - (beginning-of-line 1) - (delete-horizontal-space) - (indent-to column)))) - -;; buffer-substring-no-properties - -(cond - ((fboundp 'buffer-substring-no-properties)) - ((fboundp 'buffer-substring-without-properties) - (defalias 'buffer-substring-no-properties - 'buffer-substring-without-properties)) - (t - (defalias 'buffer-substring-no-properties 'buffer-substring))) - -(provide 'caml-compat) - |