branch: externals/csharp-mode commit a2115a630efaac5fb1cdc046acb681426205c36a Author: Jesse Black <jesse.w.bl...@gmail.com> Commit: Jesse Black <jesse.w.bl...@gmail.com>
remove unnecessary defadvice around tooltip-show --- csharp-mode.el | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/csharp-mode.el b/csharp-mode.el index b9edcb9..8e9eddc 100644 --- a/csharp-mode.el +++ b/csharp-mode.el @@ -5580,29 +5580,6 @@ Key bindings: - - ;; ======================================================= - ;; - ;; This section attempts to workaround an anomalous display behavior - ;; for tooltips. It's not strictly necessary, only for aesthetics. The - ;; issue is that tooltips can get clipped. This is the topic of Emacs - ;; bug #5908, unfixed in v23 and present in v22. - - - (defadvice tooltip-show (before - flymake-for-csharp-fixup-tooltip - (arg &optional use-echo-area) - activate compile) - (progn - (if ;;(and (not use-echo-area) (eq major-mode 'csharp-mode)) - (not use-echo-area) - (let ((orig (ad-get-arg 0))) - (ad-set-arg 0 (concat " " (cheeso-string-trim (cheeso-reform-string 74 orig) ?\ ))) - )))) - - - - ;; ======================================================================== ;; YA-snippet integration