hideif.el: Recognize .h++ as C++ header.

* lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.
This commit is contained in:
Rüdiger Sonderfeld 2015-09-01 00:56:53 +01:00
parent 28854f279c
commit 5c0fb39c28
2 changed files with 2 additions and 2 deletions

View file

@ -702,7 +702,7 @@ non-integer inputs.
interactive macro evaluation and automatic scanning of #defined symbols.
*** New custom variable `hide-ifdef-header-regexp' to define C/C++ header file
name patterns. Default case-insensitive .h, .hh, .hpp and .hxx.
name patterns. Default case-insensitive .h, .hh, .hpp, .hxx, and .h++.
*** New custom variable `hide-ifdef-expand-reinclusion-protection' to prevent
reinclusion protected header files from being fully hidden.
*** New custom variable `hide-ifdef-exclude-define-regexp' to define symbol

View file

@ -164,7 +164,7 @@ This behavior is generally undesirable. If this option is non-nil, the outermos
:version "25.1")
(defcustom hide-ifdef-header-regexp
"\\.h\\(h\\|xx\\|pp\\)?\\'"
"\\.h\\(h\\|xx\\|pp\\|\\+\\+\\)?\\'"
"C/C++ header file name patterns to determine if current buffer is a header.
Effective only if `hide-ifdef-expand-reinclusion-protection' is t."
:type 'string