Mercurial > emacs
comparison lispref/abbrevs.texi @ 52037:2232ca869e12
(Abbrev Expansion): Use \s syntax in example.
author | Markus Rost <rost@math.uni-bielefeld.de> |
---|---|
date | Thu, 24 Jul 2003 01:54:31 +0000 |
parents | 0a1f20d3fa89 |
children | 2df0dfd73718 |
comparison
equal
deleted
inserted
replaced
52036:b5ca57030ca2 | 52037:2232ca869e12 |
---|---|
338 ;; @r{If the user answers the prompt with @kbd{y}, the function returns} | 338 ;; @r{If the user answers the prompt with @kbd{y}, the function returns} |
339 ;; @r{@code{nil} (because of the @code{not} function), but that is} | 339 ;; @r{@code{nil} (because of the @code{not} function), but that is} |
340 ;; @r{acceptable; the return value has no effect on expansion.} | 340 ;; @r{acceptable; the return value has no effect on expansion.} |
341 | 341 |
342 (defun query-if-not-space () | 342 (defun query-if-not-space () |
343 (if (/= ?\ (preceding-char)) | 343 (if (/= ?\s (preceding-char)) |
344 (if (not (y-or-n-p "Do you want to expand this abbrev? ")) | 344 (if (not (y-or-n-p "Do you want to expand this abbrev? ")) |
345 (error "Not expanding this abbrev")))) | 345 (error "Not expanding this abbrev")))) |
346 @end smallexample | 346 @end smallexample |
347 | 347 |
348 @node Standard Abbrev Tables, , Abbrev Expansion, Abbrevs | 348 @node Standard Abbrev Tables, , Abbrev Expansion, Abbrevs |