comparison src/abbrev.c @ 44851:ceafe18856c7

(abbrev-start-location): Doc fix.
author Pavel Janík <Pavel@Janik.cz>
date Thu, 25 Apr 2002 17:59:13 +0000
parents 31151cf0eb43
children 6c875925d507
comparison
equal deleted inserted replaced
44850:6a10724b89fe 44851:ceafe18856c7
387 Lisp_Object expanded, prop; 387 Lisp_Object expanded, prop;
388 388
389 /* If the abbrev has a hook function, run it. */ 389 /* If the abbrev has a hook function, run it. */
390 expanded = call0 (hook); 390 expanded = call0 (hook);
391 391
392 /* In addition, if the hook function is a symbol with a a 392 /* In addition, if the hook function is a symbol with
393 non-nil `no-self-insert' property, let the value it returned 393 a non-nil `no-self-insert' property, let the value it returned
394 specify whether we consider that an expansion took place. If 394 specify whether we consider that an expansion took place. If
395 it returns nil, no expansion has been done. */ 395 it returns nil, no expansion has been done. */
396 396
397 if (SYMBOLP (hook) 397 if (SYMBOLP (hook)
398 && NILP (expanded) 398 && NILP (expanded)
633 Vlast_abbrev_text = Qnil; 633 Vlast_abbrev_text = Qnil;
634 last_abbrev_point = 0; 634 last_abbrev_point = 0;
635 635
636 DEFVAR_LISP ("abbrev-start-location", &Vabbrev_start_location, 636 DEFVAR_LISP ("abbrev-start-location", &Vabbrev_start_location,
637 doc: /* Buffer position for `expand-abbrev' to use as the start of the abbrev. 637 doc: /* Buffer position for `expand-abbrev' to use as the start of the abbrev.
638 nil means use the word before point as the abbrev. 638 When nil, use the word before point as the abbrev.
639 Calling `expand-abbrev' sets this to nil. */); 639 Calling `expand-abbrev' sets this to nil. */);
640 Vabbrev_start_location = Qnil; 640 Vabbrev_start_location = Qnil;
641 641
642 DEFVAR_LISP ("abbrev-start-location-buffer", &Vabbrev_start_location_buffer, 642 DEFVAR_LISP ("abbrev-start-location-buffer", &Vabbrev_start_location_buffer,
643 doc: /* Buffer that `abbrev-start-location' has been set for. 643 doc: /* Buffer that `abbrev-start-location' has been set for.