Copyright (C) 2000-2012 |
GNU Info (emacs-lisp-intro.info)search ExercisesSearching Exercises =================== * Write an interactive function that searches for a string. If the search finds the string, leave point after it and display a message that says "Found!". (Do not use `search-forward' for the name of this function; if you do, you will overwrite the existing version of `search-forward' that comes with Emacs. Use a name such as `test-search' instead.) * Write a function that prints the third element of the kill ring in the echo area, if any; if the kill ring does not contain a third element, print an appropriate message. automatically generated by info2www version 1.2.2.9 |