| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
Use with-helm-current-buffer only in `helm-dynamic-completion` which is called
from helm, otherwise it is called before helm call from current buffer.
|
|\
| |
| | |
Fix issues running emacs built from the native-comp branch (#2375)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The emacs native-comp branch provides "a modified Emacs capable of
compiling and running Emacs Lisp as native code in form of re-loadable
elf files" (https://akrl.sdf.org/gccemacs.html). Functions that are
natively-compiled do not return t to byte-code-function-p, but do return
t to subr-native-elisp-p, a function that is built-in to the native-comp
emacs.
The problem here is that helm-symbol-name tries to call symbol-name on
an object if it is not functionp OR byte-code-function-p; when running
with native-comp, this now needs to include subr-native-elisp-p
too. I've also modified some other functions that use a similar pattern.
|
| | |
|
|/ |
|
|
|
|
|
|
| |
Keep it for backward compatibility, but is now does nothing apart loading the
helm-autoloads.el file, still maybe useful for people not using a package
manager nor use-package.
|
|\
| |
| | |
Fix byte compiler warnings
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Use defcustom.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Same as adding an entry in helm-help-hkmap but more convenient.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Check in new variable helm-help-hkmap if key entered by user match.
If it match run its associated function.
This allows no more harcoding keybindings used in helm-help.
Keybindings are still limited to simple bindings though.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
| |
when extension is not a single letter.
This feature is not supported by sh and file-expand-wildcards
supports only sh style wildcards.
This feature is available (among others) in bash.
|
|
|
|
| |
Accept cons as candidates.
|
|
|
|
| |
Avoid a wrong-type-argument error when entering e.g. up or down.
|
| |
|
|
|
|
| |
* helm-lib.el (helm-boring-directory-p): Do it.
|
|
|
|
| |
Default advice depth 0 can overwrite previous user-defined advises.
|
|
|
|
|
|
| |
to fit with old emacs (#2282).
* helm-lib.el (helm-take-first-elements): Do it.
|
|
|
|
|
| |
* helm-lib.el (helm-append-at-nth): Simplify.
(helm-take-first-elements): Use a specialized method for lists.
|
|
|
|
| |
* helm-lib.el (helm--ansi-color-apply): Do it.
|
|
|
|
|
|
|
| |
mb characters. Fix the regexp that should match nothing, i.e. always
return nil.
* helm-lib.el (helm--concat-regexps): Do it.
|
|
|
|
| |
* helm-lib.el (helm--prepare-completion-styles):
|
|
|
|
|
|
|
| |
* helm-lib.el (helm-dynamic-completion): Do it.
* helm-mode.el (helm-completing-read-default-2): Do it.
(helm-flex-add-score-as-prop): Do it.
(helm--completion-in-region): Do it.
|
|
|
|
|
|
| |
helm-dynamic-completion (#2256).
* helm-lib.el (helm-dynamic-completion): Do it.
|
|
|
|
|
|
| |
* helm-lib.el (helm-help-mode-before-hook): New.
(helm-help-mode-after-hook): New.
(helm-help-internal): Use them.
|
|
|
|
|
| |
* helm-lib.el (helm--prepare-completion-styles): Takes one more arg STYLES.
(helm-dynamic-completion): Same and use it.
|
|
|
|
| |
* helm-lib.el (helm-dynamic-completion): Do it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
and fix metatada setting in helm-dynamic-completion.
* helm-command.el (helm-M-x-class): Use the FCT without sorting.
(helm-M-x-read-extended-command): Provide sort fn through metadata
and don't sort with FCT.
* helm-lib.el (helm-dynamic-completion): Allow preventing sorting by
passing the symbol nosort in metadata, be sure also to setup metadata
to a suitable value so that the adjust metadata fn can use it.
|
|
|
|
|
|
| |
returns nil in this case.
* helm-lib.el (helm-symbolify): Do it.
|
|
|
|
|
|
|
| |
up styles for helm. (Fix #2241)
* helm-lib.el (helm-blacklist-completion-styles): New var.
(helm--prepare-completion-styles): Use it.
|
|
|
|
| |
* helm-lib.el (helm--prepare-completion-styles): Do it.
|
|
|
|
| |
* helm-lib.el (helm--prepare-completion-styles): Do it.
|
|
|
|
|
|
|
|
| |
* helm-lib.el (helm--setup-completion-styles-alist): Renamed from
helm-mode--setup-completion-styles.
(helm--prepare-completion-styles): Renamed from
helm-completion-in-region--set-completion-styles.
* helm.el: Use new name.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move helm-mode--setup-completion-styles in helm-lib and setup
completion-styles-alist from helm.el one time for all.
Move as well helm-completion-in-region--set-completion-styles in
helm-lib to make it available for helm-dynamic-completion.
* helm-lib.el (helm-dynamic-completion): Don't setup
completion-styles-alist from here!.
* helm-mode.el (helm-mode): No need to setup completion-styles-alist
from here.
|
|
|
|
| |
* helm-lib.el (helm-dynamic-completion): Do it.
|
|
|
|
|
|
|
|
|
|
|
| |
when exiting helm-mode.
Remove helm-mode--disable-completion-styles.
* helm-command.el (helm-M-x-read-extended-command): No need to check
for helm-mode.
* helm-lib.el (helm-dynamic-completion): May be setup
completion-styles-alist if not already done by helm-mode.
* helm-mode.el (helm-mode): Don't modify completion-styles-alist
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
helm-completion-styles-alist when needed.
* helm-command.el (helm-M-x-read-extended-command): Don't use
completion-styles per mode by using NOMODE arg.
* helm-lib.el (helm-dynamic-completion): Takes now one mode arg NOMODE.
* helm-mode.el (helm-completion-styles-alist): Docstring.
(helm-completing-read-default-2): Use NOMODE.
(helm-completion-in-region--set-completion-styles): Takes now one mode arg NOMODE.
(helm--completion-in-region): Fix setting helm-completion-style
through helm-completion-styles-alist.
|
|
|
|
|
|
|
|
|
|
| |
* helm-mode.el (helm-mode-fuzzy-match): Docstring only.
(helm-completion-styles-alist): Docstring allow using sexp as value.
(helm-completion-in-region--set-completion-styles): Handle
helm-completion-styles-alist and simplify.
* helm-lib.el (helm-dynamic-completion): Do it.
* helm-command.el (helm-M-x-read-extended-command): Disable specific
mode settings for completion-styles.
|
| |
|