Commit 75e0af77 authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

* progmodes/vera-mode.el (vera-electric-tab):

* progmodes/vhdl-mode.el (vhdl-electric-tab): Make TAB indent
region when active.
parent 29428bb8
2008-08-06 Reto Zimmermann <reto@gnu.org>
* progmodes/vera-mode.el (vera-electric-tab):
* progmodes/vhdl-mode.el (vhdl-electric-tab): Make TAB indent
region when active.
2008-08-06 Kenichi Handa <handa@m17n.org>
* faces.el (face-valid-attribute-values): Fix handling the value
......
......@@ -1261,7 +1261,9 @@ If `vera-intelligent-tab' is nil, always indent line."
(interactive "*P")
(if vera-intelligent-tab
(progn
(cond ((memq (char-syntax (preceding-char)) '(?w ?_))
(cond ((and (not (featurep 'xemacs)) (use-region-p))
(vera-indent-region (region-beginning) (region-end) nil))
((memq (char-syntax (preceding-char)) '(?w ?_))
(let ((case-fold-search t)
(case-replace nil)
(hippie-expand-only-buffers
......
......@@ -7004,6 +7004,9 @@ else indent `correctly'."
(interactive "*P")
(vhdl-prepare-search-2
(cond
;; indent region if region is active
((and (not (featurep 'xemacs)) (use-region-p))
(vhdl-indent-region (region-beginning) (region-end) nil))
;; expand word
((= (char-syntax (preceding-char)) ?w)
(let ((case-fold-search (not vhdl-word-completion-case-sensitive))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment