Mercurial > emacs
comparison lisp/finder.el @ 38359:29beb6347e09
(finder-insert-at-column): Also move to the next line if exactly at COLUMN.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 11 Jul 2001 01:39:28 +0000 |
parents | cc332f3565f2 |
children | b174db545cfd |
comparison
equal
deleted
inserted
replaced
38358:ce459e8fe8ca | 38359:29beb6347e09 |
---|---|
1 ;;; finder.el --- topic & keyword-based code finder | 1 ;;; finder.el --- topic & keyword-based code finder |
2 | 2 |
3 ;; Copyright (C) 1992, 1997, 1998, 1999 Free Software Foundation, Inc. | 3 ;; Copyright (C) 1992, 1997, 1998, 1999, 2001 Free Software Foundation, Inc. |
4 | 4 |
5 ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> | 5 ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> |
6 ;; Created: 16 Jun 1992 | 6 ;; Created: 16 Jun 1992 |
7 ;; Version: 1.0 | 7 ;; Version: 1.0 |
8 ;; Keywords: help | 8 ;; Keywords: help |
182 | 182 |
183 ;;; Now the retrieval code | 183 ;;; Now the retrieval code |
184 | 184 |
185 (defun finder-insert-at-column (column &rest strings) | 185 (defun finder-insert-at-column (column &rest strings) |
186 "Insert, at column COLUMN, other args STRINGS." | 186 "Insert, at column COLUMN, other args STRINGS." |
187 (if (> (current-column) column) (insert "\n")) | 187 (if (>= (current-column) column) (insert "\n")) |
188 (move-to-column column t) | 188 (move-to-column column t) |
189 (apply 'insert strings)) | 189 (apply 'insert strings)) |
190 | 190 |
191 (defvar finder-help-echo nil) | 191 (defvar finder-help-echo nil) |
192 | 192 |