Improve prefix handling for dash.el
* lisp/emacs-lisp/autoload.el (autoload--make-defs-autoload): Don't drop dash's "-<letter>" prefixes.
This commit is contained in:
parent
89898e43c7
commit
a3b8618d79
1 changed files with 2 additions and 1 deletions
|
@ -598,7 +598,8 @@ Don't try to split prefixes that are already longer than that.")
|
|||
(lambda (x)
|
||||
(let ((prefix (car x)))
|
||||
(if (or (> (length prefix) 2) ;Long enough!
|
||||
(string-match ".[[:punct:]]\\'" prefix))
|
||||
(and (eq (length prefix) 2)
|
||||
(string-match "[[:punct:]]" prefix)))
|
||||
prefix
|
||||
;; Some packages really don't follow the rules.
|
||||
;; Drop the most egregious cases such as the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue