Skip to content

Commit

Permalink
don't use add-to-list
Browse files Browse the repository at this point in the history
  • Loading branch information
jinnovation committed Apr 10, 2024
1 parent f28cad4 commit ce4e4b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kele.el
Original file line number Diff line number Diff line change
Expand Up @@ -1709,7 +1709,8 @@ The `scope' is the current context name."
"Return text to display for help echo."
(let* ((ns (kele-current-namespace))
(msgs (list (format "Current context: %s" (kele-current-context-name)))))
(if ns (add-to-list 'msgs (format "Current namespace: %s" ns)))
(if ns
(setq msgs (append msgs (list (format "Current namespace: %s" ns)))))
(string-join msgs "\n")))

(provide 'kele)
Expand Down

0 comments on commit ce4e4b8

Please sign in to comment.