Display empty string instead of magic EMPTY BUFFER

This commit is contained in:
Benno Fünfstück 2019-11-11 22:03:48 +01:00
parent 31b2a5a19e
commit e19c73843d

View file

@ -513,7 +513,7 @@ If ALL-FILES-P, search compressed and hidden files as well."
(cons (format "%s:%d: %s" (cons (format "%s:%d: %s"
(buffer-name) (buffer-name)
(line-number-at-pos) (line-number-at-pos)
(string-trim-right (or (thing-at-point 'line) "<EMPTY BUFFER>"))) (string-trim-right (or (thing-at-point 'line) "")))
(point-marker))))))) (point-marker)))))))
(cddr (better-jumper-jump-list-struct-ring (cddr (better-jumper-jump-list-struct-ring
(better-jumper-get-jumps (better-jumper--get-current-context)))))))) (better-jumper-get-jumps (better-jumper--get-current-context))))))))