branch: elpa/boxquote
commit 3fba71416798c58fdffb36f715543d1eba202621
Author: Dave Pearson <da...@davep.org>
Commit: Dave Pearson <da...@davep.org>

    Stop supporting versions of emacs nobody will run these days
---
 boxquote.el | 25 -------------------------
 1 file changed, 25 deletions(-)

diff --git a/boxquote.el b/boxquote.el
index dfdeeb1725..3390422e91 100644
--- a/boxquote.el
+++ b/boxquote.el
@@ -53,31 +53,6 @@
   (require 'cl))
 (require 'rect)
 
-;; Attempt to handle older/other emacs.
-(eval-and-compile
-
-  ;; If customize isn't available just use defvar instead.
-  (unless (fboundp 'defgroup)
-    (defmacro defgroup  (&rest rest) nil)
-    (defmacro defcustom (symbol init docstring &rest rest)
-      `(defvar ,symbol ,init ,docstring)))
-
-  ;; If `line-beginning-position' isn't available provide one.
-  (unless (fboundp 'line-beginning-position)
-    (defun line-beginning-position (&optional n)
-      "Return the `point' of the beginning of the current line."
-      (save-excursion
-        (beginning-of-line n)
-        (point))))
-
-  ;; If `line-end-position' isn't available provide one.
-  (unless (fboundp 'line-end-position)
-    (defun line-end-position (&optional n)
-      "Return the `point' of the end of the current line."
-      (save-excursion
-        (end-of-line n)
-        (point)))))
-
 ;; Customize options.
 
 (defgroup boxquote nil

Reply via email to