comparison lisp/imenu.el @ 104545:6a56db2e5756

Comment.
author Glenn Morris <rgm@gnu.org>
date Sat, 22 Aug 2009 19:41:49 +0000
parents 03262c903016
children c220a29e75fd
comparison
equal deleted inserted replaced
104544:5a7504ff8b85 104545:6a56db2e5756
295 ;;;; Some examples of functions utilizing the framework of this 295 ;;;; Some examples of functions utilizing the framework of this
296 ;;;; package. 296 ;;;; package.
297 ;;;; 297 ;;;;
298 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 298 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
299 299
300 ;; FIXME: This is the only imenu-example-* definition that's actually used, 300 ;; FIXME: This was the only imenu-example-* definition actually used,
301 ;; and it seems to only be used by cperl-mode.el. We should just move it to 301 ;; by cperl-mode.el. Now cperl-mode has its own copy, so these can
302 ;; cperl-mode.el and remove the rest. 302 ;; all be removed.
303 (defun imenu-example--name-and-position () 303 (defun imenu-example--name-and-position ()
304 "Return the current/previous sexp and its (beginning) location. 304 "Return the current/previous sexp and its (beginning) location.
305 Don't move point." 305 Don't move point."
306 (save-excursion 306 (save-excursion
307 (forward-sexp -1) 307 (forward-sexp -1)