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

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

[elpa] externals/idlwave cba1950d51 216/360: Add structure tag completio


From: ELPA Syncer
Subject: [elpa] externals/idlwave cba1950d51 216/360: Add structure tag completion by default (configurable).
Date: Sun, 28 Apr 2024 00:59:26 -0400 (EDT)

branch: externals/idlwave
commit cba1950d51ce73a633eb4f5131bea75ac82240b6
Author: JD Smith <jdtsmith@gmail.com>
Commit: JD Smith <jdtsmith@gmail.com>

    Add structure tag completion by default (configurable).
---
 idlwave.el | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/idlwave.el b/idlwave.el
index 6bc00ecb7a..643bd13426 100644
--- a/idlwave.el
+++ b/idlwave.el
@@ -601,6 +601,10 @@ for which to assume this can be set here."
   :group 'idlwave-routine-info
   :type '(repeat (regexp :tag "Match method:")))
   
+(defcustom idlwave-complete-structure-tags t
+  "Whether to complete structure tags in source and shell."
+  :group 'idlwave-routine-info
+  :type 'boolean)
 
 (defcustom idlwave-completion-show-classes 1
   "*Number of classes to show when completing object methods and keywords.
@@ -1996,6 +2000,11 @@ The main features of this mode are
   ;; Update the routine info with info about current buffer?
   (idlwave-new-buffer-update)
 
+  (if idlwave-complete-structure-tags
+      (add-hook 'idlwave-mode-hook 
+               (lambda ()
+                 (require 'idlw-complete-structtag))))
+
   ;; Run the mode hook
   (run-hooks 'idlwave-mode-hook))
 



reply via email to

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