[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/abbrevs.texi [lexbind]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/abbrevs.texi [lexbind] |
Date: |
Tue, 14 Oct 2003 19:10:14 -0400 |
Index: emacs/lispref/abbrevs.texi
diff -c emacs/lispref/abbrevs.texi:1.13.4.1 emacs/lispref/abbrevs.texi:1.13.4.2
*** emacs/lispref/abbrevs.texi:1.13.4.1 Fri Apr 4 01:20:41 2003
--- emacs/lispref/abbrevs.texi Tue Oct 14 19:10:11 2003
***************
*** 80,85 ****
--- 80,90 ----
leaving it empty. It always returns @code{nil}.
@end defun
+ @defun copy-abbrev-table table
+ This function returns a copy of abbrev table @var{table}---a new
+ abbrev table that contains the same abbrev definitions.
+ @end defun
+
@defun define-abbrev-table tabname definitions
This function defines @var{tabname} (a symbol) as an abbrev table
name, i.e., as a variable whose value is an abbrev table. It defines
***************
*** 149,161 ****
replaced with @var{expansion}; point is located at the end of
@var{expansion} when @var{hook} is called.
! If @var{hook} is a non-nil symbol whose @code{no-self-insert} property
! is address@hidden, @var{hook} can explicitly control whether to insert
! the self-inserting input character that triggered the expansion. If
! @var{hook} returns address@hidden in this case, that inhibits insertion
! of the character. By contrast, if @var{hook} returns @code{nil},
! @code{expand-abbrev} also returns @code{nil}, as if expansion had not
! really occurred.
If @var{system-flag} is address@hidden, that marks the abbrev as a
``system'' abbrev with the @code{system-type} property.
--- 154,167 ----
replaced with @var{expansion}; point is located at the end of
@var{expansion} when @var{hook} is called.
! @cindex @code{no-self-insert} property
! If @var{hook} is a address@hidden symbol whose @code{no-self-insert}
! property is address@hidden, @var{hook} can explicitly control whether
! to insert the self-inserting input character that triggered the
! expansion. If @var{hook} returns address@hidden in this case, that
! inhibits insertion of the character. By contrast, if @var{hook}
! returns @code{nil}, @code{expand-abbrev} also returns @code{nil}, as
! if expansion had not really occurred.
If @var{system-flag} is address@hidden, that marks the abbrev as a
``system'' abbrev with the @code{system-type} property.
***************
*** 340,346 ****
;; @r{acceptable; the return value has no effect on expansion.}
(defun query-if-not-space ()
! (if (/= ?\ (preceding-char))
(if (not (y-or-n-p "Do you want to expand this abbrev? "))
(error "Not expanding this abbrev"))))
@end smallexample
--- 346,352 ----
;; @r{acceptable; the return value has no effect on expansion.}
(defun query-if-not-space ()
! (if (/= ?\s (preceding-char))
(if (not (y-or-n-p "Do you want to expand this abbrev? "))
(error "Not expanding this abbrev"))))
@end smallexample
***************
*** 377,379 ****
--- 383,388 ----
This is the local abbrev table used in Lisp mode and Emacs Lisp mode.
@end defvar
+ @ignore
+ arch-tag: 5ffdbe08-2cd4-48ec-a5a8-080f95756eec
+ @end ignore
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lispref/abbrevs.texi [lexbind],
Miles Bader <=