Commit 9a8b3a5c authored by Romain Francoise's avatar Romain Francoise
Browse files

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.
parent 8aee12d0
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment