From 2ef180f7e34960ac41779da625f12be4a04ea7a4 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Sat, 16 Feb 2008 16:17:37 +0000 Subject: [PATCH] * ielm.el (ielm-is-whitespace-or-comment): Docstring fix. --- lisp/ChangeLog | 11 +++++++++++ lisp/ielm.el | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2509add2580..9a1814162a6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-02-16 Lawrence Mitchell + + * ielm.el (ielm-is-whitespace-or-comment): Docstring + fix. + 2008-02-16 Dan Nicolaescu * vc.el (vc-annotate): Add new argument. @@ -36,6 +41,12 @@ * bindings.el (mode-line-mule-info): Make the tooltips more explicit. +2008-02-15 Lawrence Mitchell + + * ielm.el (ielm-is-whitespace): Remove. + (ielm-is-whitespace-or-comment): New function. + (ielm-eval-input): Use it. + 2008-02-15 Jason Rumney * term/mac-win.el: Fix coding tag. diff --git a/lisp/ielm.el b/lisp/ielm.el index a9255587be5..5e1921e82f4 100644 --- a/lisp/ielm.el +++ b/lisp/ielm.el @@ -301,7 +301,7 @@ simply inserts a newline." ;;; Utility functions (defun ielm-is-whitespace-or-comment (string) - "Return non-nil if STRING is all whitespace." + "Return non-nil if STRING is all whitespace or a comment." (or (string= string "") (string-match "\\`[ \t\n]*\\(?:;.*\\)*\\'" string))) -- 2.39.2