comparison lisp/progmodes/tcl.el @ 111445:56b71cddc9c5

Replace still more end-of-line etc with line-end-position, etc. * lisp/gnus/nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail) (nnbabyl-check-mbox): Use point-at-bol. * lisp/cedet/semantic/lex.el (semantic-lex-ignore-comments, semantic-flex): * lisp/cedet/semantic/grammar.el (semantic-grammar-epilogue): * lisp/cedet/ede/speedbar.el (ede-find-nearest-file-line): * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules): * lisp/cedet/ede/autoconf-edit.el (autoconf-delete-parameter): Use point-at-bol and point-at-eol. * lisp/vc/emerge.el (emerge-line-number-in-buf): * lisp/textmodes/ispell.el (ispell-region): * lisp/textmodes/fill.el (current-fill-column): * lisp/progmodes/xscheme.el (xscheme-send-current-line): * lisp/progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy): * lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment): * lisp/progmodes/sh-script.el (sh-handle-prev-do): * lisp/progmodes/meta-mode.el (meta-indent-line): * lisp/progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph) (idlwave-in-quote): * lisp/progmodes/idlw-shell.el (idlwave-shell-current-frame) (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter): * lisp/progmodes/fortran.el (fortran-looking-at-if-then): * lisp/progmodes/etags.el (find-tag-in-order, etags-snarf-tag): * lisp/progmodes/cperl-mode.el (cperl-sniff-for-indent) (cperl-find-pods-heres): * lisp/progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun): * lisp/net/quickurl.el (quickurl-list-insert): * lisp/net/ldap.el (ldap-search-internal): * lisp/net/eudc.el (eudc-expand-inline): * lisp/mail/sendmail.el (sendmail-send-it): * lisp/mail/mspools.el (mspools-visit-spool, mspools-get-spool-name): * lisp/emulation/viper-cmd.el (viper-paren-match, viper-backward-indent) (viper-brac-function): * lisp/calc/calc-yank.el (calc-do-grab-region): * lisp/calc/calc-keypd.el (calc-keypad-press): * lisp/term.el (term-move-columns, term-insert-spaces): * lisp/speedbar.el (speedbar-highlight-one-tag-line): * lisp/simple.el (current-word): * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling): * lisp/info.el (Info-find-node-in-buffer-1, Info-follow-reference) (Info-scroll-down): * lisp/hippie-exp.el (he-line-beg): * lisp/epa.el (epa--marked-keys): * lisp/dired-aux.el (dired-kill-line, dired-do-kill-lines) (dired-update-file-line, dired-add-entry, dired-remove-entry) (dired-relist-entry): * lisp/buff-menu.el (Buffer-menu-buffer): * lisp/array.el (current-line): * lisp/allout.el (allout-resolve-xref) (allout-latex-verbatim-quote-curr-line): Replace yet more uses of end-of-line etc with line-end-position.
author Glenn Morris <rgm@gnu.org>
date Mon, 08 Nov 2010 21:33:07 -0800
parents b10051866f51
children 132f2dfd549f
comparison
equal deleted inserted replaced
111444:60f509c70b61 111445:56b71cddc9c5
1206 This function does not work in Emacs 18. 1206 This function does not work in Emacs 18.
1207 See also `tcl-simple-scan-for-comment', a 1207 See also `tcl-simple-scan-for-comment', a
1208 simpler version that is often right, and works in Emacs 18." 1208 simpler version that is often right, and works in Emacs 18."
1209 (let ((bol (save-excursion 1209 (let ((bol (save-excursion
1210 (goto-char end) 1210 (goto-char end)
1211 (beginning-of-line) 1211 (line-beginning-position)))
1212 (point)))
1213 real-comment 1212 real-comment
1214 last-cstart) 1213 last-cstart)
1215 (while (and (not last-cstart) (< (point) end)) 1214 (while (and (not last-cstart) (< (point) end))
1216 (setq real-comment nil) ;In case we've looped around and it is set. 1215 (setq real-comment nil) ;In case we've looped around and it is set.
1217 (setq state (parse-partial-sexp (point) end nil nil state t)) 1216 (setq state (parse-partial-sexp (point) end nil nil state t))
1555 (defalias 'tcl-mark-defun 'mark-defun) 1554 (defalias 'tcl-mark-defun 'mark-defun)
1556 (defun tcl-mark () (mark t)) 1555 (defun tcl-mark () (mark t))
1557 1556
1558 (provide 'tcl) 1557 (provide 'tcl)
1559 1558
1560 ;; arch-tag: 8a032554-c3ef-422e-b84c-acec0522179d
1561 ;;; tcl.el ends here 1559 ;;; tcl.el ends here