mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-31 01:32:00 -07:00
Fix 'shr-outline-search' (bug#81073)
* lisp/net/shr.el (shr-outline-search): Don't check for the beginning of the line. Suggested by Omar Antolín Camarena <omar@im.unam.mx>. Confirmed by Rahguzar <rahguzar@mailbox.org>.
This commit is contained in:
parent
1754015c60
commit
655302cc21
1 changed files with 1 additions and 2 deletions
|
|
@ -2290,8 +2290,7 @@ See `outline-search-function' for BOUND, MOVE, BACKWARD and LOOKING-AT."
|
|||
(bound (or bound
|
||||
(if backward (point-min) (point-max)))))
|
||||
(save-excursion
|
||||
(when (and (not (bolp))
|
||||
(get-text-property (point) 'outline-level))
|
||||
(when (get-text-property (point) 'outline-level)
|
||||
(forward-line (if backward -1 1)))
|
||||
(if backward
|
||||
(unless (get-text-property (point) 'outline-level)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue