Function: newsticker-treeview-list-make-sort-button
newsticker-treeview-list-make-sort-button is a byte-compiled function
defined in newst-treeview.el.gz.
Signature
(newsticker-treeview-list-make-sort-button NAME SORT-ORDER)
Documentation
Create propertized string for headerline button.
NAME is the button text, SORT-ORDER is the associated sort order for the button.
Source Code
;; Defined in /usr/src/emacs/lisp/net/newst-treeview.el.gz
(defun newsticker-treeview-list-make-sort-button (name sort-order)
"Create propertized string for headerline button.
NAME is the button text, SORT-ORDER is the associated sort order
for the button."
(let ((face (if (string-match (symbol-name sort-order)
(symbol-name
newsticker--treeview-list-sort-order))
'bold
'header-line)))
(propertize name
'sort-order sort-order
'help-echo (concat "Sort by " name)
'mouse-face 'highlight
'face face
'keymap newsticker-treeview-list-sort-button-map)))