* progmodes/vhdl-mode.el (vhdl-electric-tab): Make TAB indent
region when active.
+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
(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
(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))