guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Remove a redundant declaration of when/unless


From: Mike Gran
Subject: [PATCH] Remove a redundant declaration of when/unless
Date: Tue, 17 Apr 2018 07:12:06 -0700

* module/scripts/snarf-check-and-output-texi.scm (when, unless): removed
---
 module/scripts/snarf-check-and-output-texi.scm | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/module/scripts/snarf-check-and-output-texi.scm 
b/module/scripts/snarf-check-and-output-texi.scm
index 82d71f4a9..b3101d767 100644
--- a/module/scripts/snarf-check-and-output-texi.scm
+++ b/module/scripts/snarf-check-and-output-texi.scm
@@ -1,6 +1,6 @@
 ;;; snarf-check-and-output-texi --- called by the doc snarfer.
 
-;; Copyright (C) 2001, 2002, 2006, 2011, 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2001, 2002, 2006, 2011, 2014, 2018 Free Software Foundation, 
Inc.
 ;;
 ;; This program is free software; you can redistribute it and/or
 ;; modify it under the terms of the GNU Lesser General Public License
@@ -29,14 +29,6 @@
 (define %include-in-guild-list #f)
 (define %summary "Transform snarfed .doc files into texinfo documentation.")
 
-;;; why aren't these in some module?
-
-(define-macro (when cond . body)
-  `(if ,cond (begin ,@body)))
-
-(define-macro (unless cond . body)
-  `(if (not ,cond) (begin ,@body)))
-
 (define *manual-flag* #f)
 
 (define (snarf-check-and-output-texi . flags)
-- 
2.14.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]