mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 01:34:21 +00:00
2007-09-06 Sean O'Rourke <sorourke@cs.ucsd.edu>
* complete.el (PC-do-completion): Don't try to treat empty string as an abbreviation.
This commit is contained in:
parent
8aee12d033
commit
9a8b3a5cd4
2 changed files with 8 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2007-09-06 Sean O'Rourke <sorourke@cs.ucsd.edu>
|
||||
|
||||
* complete.el (PC-do-completion): Don't try to treat
|
||||
empty string as an abbreviation.
|
||||
|
||||
2007-09-06 Johan Bockg,Ae(Brd <bojohan@dd.chalmers.se>
|
||||
|
||||
* help-fns.el (describe-variable): Keep doc's text properties.
|
||||
|
|
|
|||
|
|
@ -596,9 +596,10 @@ GOTO-END is non-nil, however, it instead replaces up to END."
|
|||
(setq poss (all-completions (if env-on basestr str)
|
||||
table
|
||||
pred))
|
||||
(unless poss
|
||||
(unless (or poss (string-equal str ""))
|
||||
;; Try completion as an abbreviation, e.g. "mvb" ->
|
||||
;; "m-v-b" -> "multiple-value-bind"
|
||||
;; "m-v-b" -> "multiple-value-bind", but only for
|
||||
;; non-empty strings.
|
||||
(setq origstr str
|
||||
abbreviated t)
|
||||
(if filename
|
||||
|
|
|
|||
Loading…
Reference in a new issue