branch: elpa/lua-mode commit 13363dbe26eb7d2bd592f717d0aebf0b51389db3 Author: juergen <juergen> Commit: juergen <juergen>
Fixed typo (#470) --- lua-mode.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lua-mode.el b/lua-mode.el index eae5f9f..98de5e2 100755 --- a/lua-mode.el +++ b/lua-mode.el @@ -328,6 +328,11 @@ The following keys are bound: (if (and lua-using-xemacs (boundp 'mode-popup-menu)) (setq mode-popup-menu (cons (concat mode-name " Mode Commands") lua-xemacs-menu))) + + ;; hideshow setup + (unless (assq 'lua-mode hs-special-modes-alist) + (add-to-list 'hs-special-modes-alist + '(lua-mode "\\<\\(then\\|function\\|do\\)\\>" "\\<end\\>"))) (run-hooks 'lua-mode-hook))) ;;;###autoload @@ -1173,7 +1178,7 @@ t, otherwise return nil. BUF must exist." ;;{{{ lua-search-documentation (defun lua-search-documentation () - "Search LUA documentation for the word at the point." + "Search Lua documentation for the word at the point." (interactive) (browse-url (concat lua-search-url-prefix (current-word t))))