# HG changeset patch # User Bastien Guerry # Date 1203178657 0 # Node ID 66415e9a068afa3ff5474855814dbdfd6da7e09d # Parent c38d9e3eee4750812b8e6fd5cef5f5ae56429b38 * ielm.el (ielm-is-whitespace-or-comment): Docstring fix. diff -r c38d9e3eee47 -r 66415e9a068a lisp/ChangeLog --- a/lisp/ChangeLog Sat Feb 16 15:54:37 2008 +0000 +++ b/lisp/ChangeLog Sat Feb 16 16:17:37 2008 +0000 @@ -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 -r c38d9e3eee47 -r 66415e9a068a lisp/ielm.el --- a/lisp/ielm.el Sat Feb 16 15:54:37 2008 +0000 +++ b/lisp/ielm.el Sat Feb 16 16:17:37 2008 +0000 @@ -301,7 +301,7 @@ ;;; 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)))