]> git.eshelyaron.com Git - emacs.git/commitdiff
Define gnus-diary-kill-entire-line unconditionally
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 13 Feb 2016 05:52:47 +0000 (16:52 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 13 Feb 2016 05:52:47 +0000 (16:52 +1100)
* lisp/gnus/gnus-diary.el (gnus-diary-kill-entire-line):
Define unconditionally.

lisp/gnus/gnus-diary.el

index 6f0bfe6766f5979d1a322885cf8bb7888e5ff589..af278b4427d5bb6d5124206ab3c90e3e670cf275 100644 (file)
@@ -83,13 +83,10 @@ There are currently two built-in format functions:
 
 ;; Compatibility functions ==================================================
 
-(eval-and-compile
-  (if (fboundp 'kill-entire-line)
-      (defalias 'gnus-diary-kill-entire-line 'kill-entire-line)
-    (defun gnus-diary-kill-entire-line ()
-      (beginning-of-line)
-      (let ((kill-whole-line t))
-       (kill-line)))))
+(defun gnus-diary-kill-entire-line ()
+  (beginning-of-line)
+  (let ((kill-whole-line t))
+    (kill-line)))
 
 
 ;; Summary line format ======================================================