summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicolaescu <done@ece.arizona.edu>1998-04-18 20:43:38 +0000
committerDan Nicolaescu <done@ece.arizona.edu>1998-04-18 20:43:38 +0000
commitdaa02ea5db4c8e5518fec72473b643910077de1e (patch)
treecaf2886b099cd5ef384be2c59a7705e419200e42
parent78781cbeda43c2d193a00e392e2316d0bdad0dd2 (diff)
downloademacs-daa02ea5db4c8e5518fec72473b643910077de1e.tar.gz
*** empty log message ***
-rw-r--r--lisp/progmodes/vhdl-mode.el3
-rw-r--r--lisp/which-func.el5
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index ce7ba81d115..eea14f2c56a 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -5885,7 +5885,8 @@ This does highlighting of signal names with specific syntax.")
(re-search-forward "\\s-*\\<end\\s-+\\(process\\|block\\)\\>" nil t)
)))
-(require 'hideshow)
+;; Not needed `hs-special-modes-alist' is autoloaded.
+;(require 'hideshow)
(unless (assq 'vhdl-mode hs-special-modes-alist)
(setq hs-special-modes-alist
diff --git a/lisp/which-func.el b/lisp/which-func.el
index 1de0ad5e5ae..56cbbbab8cd 100644
--- a/lisp/which-func.el
+++ b/lisp/which-func.el
@@ -62,6 +62,11 @@
(defvar which-func-unknown "???"
"String to display in the mode line when current function is unknown.")
+(defgroup which-func nil
+ "Mode to display the current function name in the modeline."
+ :group 'tools
+ :version "20.3")
+
(defcustom which-func-modes
'(emacs-lisp-mode c-mode c++-mode perl-mode makefile-mode sh-mode)
"List of major modes for which `which-func-mode' should be used.