|
From: | Kevin Rodgers |
Subject: | Re: Abbrevs |
Date: | Wed, 27 Aug 2003 08:56:39 -0600 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Super-User wrote:
Hello, I have the following problem with Abbrevs: "GNU Emacs 20.7.1 (sparc-sun-solaris2.8, X toolkit)\n of Tue Oct 16 2001 on jupiter" ............................................................ a. ELISP> (abbrev-expansion "XSAR_1" shell-mode-abbrev-table) "/export/home/JUPITER_XSAR_1/" b. ELISP> (expand-abbrev) nil Question: Why does (expand-abbrev) not the same work as`abbrev-expansion' obviously does? Do I need any setup of variables such that Abbrevs accepts uppercase abbrevs?
`C-h f' is your friend: | abbrev-expansion is a built-in function. | (abbrev-expansion ABBREV &optional TABLE) | | Return the string that ABBREV expands into in the current buffer. | Optionally specify an abbrev table as second arg; | then ABBREV is looked up in that table only. | expand-abbrev is an interactive built-in function. | (expand-abbrev) | | Expand the abbrev before point, if there is an abbrev there. | Effective when explicitly called even when `abbrev-mode' is nil. | Returns the abbrev symbol, if expansion took place. -- Kevin Rodgers
[Prev in Thread] | Current Thread | [Next in Thread] |