summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRobert Fenk <fenk@users.sourceforge.net>2000-11-16 12:03:49 +0000
committerRobert Fenk <fenk@users.sourceforge.net>2000-11-16 12:03:49 +0000
commitdd7733925239aef75edea0947177853dc4e27e56 (patch)
treeb9a06cb85f389e113a4978190b442a8392a77eed /lisp
parente116e1a68dcd0cebbc9a9316527bb33bbd01c735 (diff)
(bbdb-fontify-buffer): Fixed fontification
for elided display.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/bbdb-xemacs.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/bbdb-xemacs.el b/lisp/bbdb-xemacs.el
index f5c77d0..3986917 100644
--- a/lisp/bbdb-xemacs.el
+++ b/lisp/bbdb-xemacs.el
@@ -72,6 +72,8 @@
(setq p (+ start (length (bbdb-record-name record))))
(if (bbdb-record-company record)
(setq p (+ p 3 (length (bbdb-record-company record)))))
+ (if (and elided-p (> p (+ start bbdb-pop-up-elided-display-name-end)))
+ (setq p (+ start 3 bbdb-pop-up-elided-display-name-end)))
(goto-char start)
(if (search-forward " - " p t)
(progn