Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
aa0382bd
Commit
aa0382bd
authored
May 11, 2012
by
Stefan Monnier
Browse files
* lisp/dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
parent
c8e32179
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
lisp/ChangeLog
lisp/ChangeLog
+2
-0
lisp/dabbrev.el
lisp/dabbrev.el
+2
-2
No files found.
lisp/ChangeLog
View file @
aa0382bd
2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
* dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
* minibuffer.el (completion--twq-all): Again, allow case differences.
* term.el: Move keymap initialization code to be more idiomatic.
...
...
lisp/dabbrev.el
View file @
aa0382bd
...
...
@@ -527,8 +527,8 @@ See also `dabbrev-abbrev-char-regexp' and \\[dabbrev-completion]."
(search-backward old)
(insert abbrev)
(delete-region (point) (+ (point) (length old)))))
(error "
No%s
dynamic
expansion
for
`
%s
'
found
"
(if old "
further
" "") abbrev))
(
user-
error "
No%s
dynamic
expansion
for
`
%s
'
found
"
(if old "
further
" "") abbrev))
(t
(if (not (or (eq dabbrev--last-buffer dabbrev--last-buffer-found)
(minibuffer-window-active-p (selected-window))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment