emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/lua-mode 13363db 017/468: Fixed typo (#470)


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode 13363db 017/468: Fixed typo (#470)
Date: Thu, 5 Aug 2021 04:58:00 -0400 (EDT)

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))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]