comparison lisp/dabbrev.el @ 49588:37645a051842

Trailing whitespace deleted.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 04 Feb 2003 11:26:42 +0000
parents c0e98fdf377f
children 509508a92422 d7ddb3e565de
comparison
equal deleted inserted replaced
49587:e82b3fe06d4c 49588:37645a051842
749 DIRECTION < 0 means look that many times forward. 749 DIRECTION < 0 means look that many times forward.
750 DIRECTION = 0 means try both backward and forward. 750 DIRECTION = 0 means try both backward and forward.
751 IGNORE-CASE non-nil means ignore case when searching. 751 IGNORE-CASE non-nil means ignore case when searching.
752 This sets `dabbrev--last-direction' to 1 or -1 according 752 This sets `dabbrev--last-direction' to 1 or -1 according
753 to the direction in which the occurrence was actually found. 753 to the direction in which the occurrence was actually found.
754 It sets `dabbrev--last-expansion-location' to the location 754 It sets `dabbrev--last-expansion-location' to the location
755 of the start of the occurrence." 755 of the start of the occurrence."
756 (save-excursion 756 (save-excursion
757 ;; If we were scanning something other than the current buffer, 757 ;; If we were scanning something other than the current buffer,
758 ;; continue scanning there. 758 ;; continue scanning there.
759 (when dabbrev--last-buffer 759 (when dabbrev--last-buffer
919 919
920 ;; In case we insert subsequent words, 920 ;; In case we insert subsequent words,
921 ;; record if we upcased or downcased the first word, 921 ;; record if we upcased or downcased the first word,
922 ;; in order to do likewise for subsequent words. 922 ;; in order to do likewise for subsequent words.
923 (and record-case-pattern 923 (and record-case-pattern
924 (setq dabbrev--last-case-pattern 924 (setq dabbrev--last-case-pattern
925 (and use-case-replace 925 (and use-case-replace
926 (cond ((equal abbrev (upcase abbrev)) 'upcase) 926 (cond ((equal abbrev (upcase abbrev)) 'upcase)
927 ((equal abbrev (downcase abbrev)) 'downcase))))) 927 ((equal abbrev (downcase abbrev)) 'downcase)))))
928 928
929 ;; Convert whitespace to single spaces. 929 ;; Convert whitespace to single spaces.