Merge from origin/emacs-28
f2031d0ddb
Minor improvement in user documentation of completion style1e3076e2db
Fix bug where bookmark-jump used (point), not (point-at-bol)
This commit is contained in:
commit
1d92f6094c
2 changed files with 5 additions and 2 deletions
|
@ -497,7 +497,10 @@ falls back on the next style.
|
|||
@vindex completion-styles
|
||||
The list variable @code{completion-styles} specifies the completion
|
||||
styles to use. Each list element is the name of a completion style (a
|
||||
Lisp symbol). The default completion styles are (in order):
|
||||
Lisp symbol). The available style symbols are stored in the variable
|
||||
@code{completion-styles-alist} (@pxref{Completion Variables,,, elisp,
|
||||
The Emacs Lisp Reference Manual}). The default completion styles are
|
||||
(in order):
|
||||
|
||||
@table @code
|
||||
@item basic
|
||||
|
|
|
@ -1155,7 +1155,7 @@ and then show any annotations for this bookmark."
|
|||
;; FIXME: we used to only run bookmark-after-jump-hook in
|
||||
;; `bookmark-jump' itself, but in none of the other commands.
|
||||
(when bookmark-set-fringe-mark
|
||||
(let ((overlays (overlays-in (point) (point)))
|
||||
(let ((overlays (overlays-in (point-at-bol) (1+ (point-at-bol))))
|
||||
temp found)
|
||||
(while (and (not found) (setq temp (pop overlays)))
|
||||
(when (eq 'bookmark (overlay-get temp 'category))
|
||||
|
|
Loading…
Add table
Reference in a new issue