aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2016-01-02 12:36:28 +0200
committerEli Zaretskii2016-01-02 12:36:28 +0200
commitcd68f47e4fddaa891a978b4ac55cbf323850dfd9 (patch)
tree60cbcbca34af473ab4fb58d148f009950ab6395c
parent723b8bf19de21c0a2c25dc91df5ab22a3a9e2717 (diff)
downloademacs-cd68f47e4fddaa891a978b4ac55cbf323850dfd9.tar.gz
emacs-cd68f47e4fddaa891a978b4ac55cbf323850dfd9.zip
Improve documentation of new Hide-IfDef features
* etc/NEWS: Expand and reword Hide-IfDef section.
-rw-r--r--etc/NEWS34
1 files changed, 27 insertions, 7 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 25bd69e6c6f..c20afaf7d3f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -877,16 +877,36 @@ fitting for use in money calculations
877--- 877---
878*** Factorial works with non-integer inputs. 878*** Factorial works with non-integer inputs.
879 879
880** HideIfDef mode now support full C/C++ expressions, argumented macro 880** Hide-IfDef mode
881expansions, interactive macro evaluation and automatic scanning of
882#defined symbols.
883 881
884*** New custom variable `hide-ifdef-header-regexp' to define C/C++ header file 882---
885name patterns. Default case-insensitive .h, .hh, .hpp, .hxx, and .h++. 883*** Hide-IfDef mode now support full C/C++ expressions in macros,
884macro argument expansion, interactive macro evaluation and automatic
885scanning of #define'd symbols.
886
887---
888*** New command `hif-evaluate-macro', bound to `C-c @ e', displays the
889result of evaluating a macro.
890
891---
892*** New command `hif-clear-all-ifdef-define', bound to `C-c @ C', clears
893all defined symbols in `hide-ifdef-env'.
894
895---
896*** New custom variable `hide-ifdef-header-regexp' to define C/C++ header
897file name patterns. Defaults to files whose extension is one of `.h',
898`.hh', `.hpp', `.hxx', or `.h++', matched case-insensitively.
899
900---
886*** New custom variable `hide-ifdef-expand-reinclusion-protection' to prevent 901*** New custom variable `hide-ifdef-expand-reinclusion-protection' to prevent
887reinclusion protected header files from being fully hidden. 902reinclusion protected (a.k.a. "idempotent") header files from being hidden.
903(This could happen when an idempotent header file is visited again,
904when its guard symbol is already defined.) Defaults to `t'.
905
906---
888*** New custom variable `hide-ifdef-exclude-define-regexp' to define symbol 907*** New custom variable `hide-ifdef-exclude-define-regexp' to define symbol
889name patterns (e.g. all "FOR_DOXYGEN_ONLY_*") to be excluded. 908name patterns (e.g. all "FOR_DOXYGEN_ONLY_*") to be ignored when
909looking for macro definitions. By default, no symbols are ignored.
890 910
891** TeX mode 911** TeX mode
892 912