(tabulated-list-print))
(pop-to-buffer-same-window buf)))
+(defun sweeprolog--buttonize (string callback data)
+ (if (fboundp 'buttonize)
+ (buttonize string callback data)
+ (button-buttonize string callback data)))
+
(defun sweeprolog--buttonize-region (start end callback data)
(if (fboundp 'buttonize-region)
(buttonize-region start end callback data)
:type 'swi-prolog-module
:file path))
(if page
- (insert (buttonize mod #'sweeprolog-find-module mod)
+ (insert (sweeprolog--buttonize mod #'sweeprolog-find-module mod)
" is a SWI-Prolog module.\n\n"
page)
- (insert (buttonize mod #'sweeprolog-find-module mod)
+ (insert (sweeprolog--buttonize mod #'sweeprolog-find-module mod)
" is an undocumented SWI-Prolog module.")))
(insert mod " is not documented as a SWI-Prolog module."))))))
(list :symbol (intern pred)
:type 'swi-prolog-predicate
:file path))
- (insert (buttonize pred #'sweeprolog-find-predicate pred)
+ (insert (sweeprolog--buttonize pred #'sweeprolog-find-predicate pred)
(if page
(concat " is a SWI-Prolog predicate.\n\n"
page)