aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.")
5885 (re-search-forward "\\s-*\\<end\\s-+\\(process\\|block\\)\\>" nil t) 5885 (re-search-forward "\\s-*\\<end\\s-+\\(process\\|block\\)\\>" nil t)
5886 ))) 5886 )))
5887 5887
5888(require 'hideshow) 5888;; Not needed `hs-special-modes-alist' is autoloaded.
5889;(require 'hideshow)
5889 5890
5890(unless (assq 'vhdl-mode hs-special-modes-alist) 5891(unless (assq 'vhdl-mode hs-special-modes-alist)
5891 (setq hs-special-modes-alist 5892 (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 @@
62(defvar which-func-unknown "???" 62(defvar which-func-unknown "???"
63 "String to display in the mode line when current function is unknown.") 63 "String to display in the mode line when current function is unknown.")
64 64
65(defgroup which-func nil
66 "Mode to display the current function name in the modeline."
67 :group 'tools
68 :version "20.3")
69
65(defcustom which-func-modes 70(defcustom which-func-modes
66 '(emacs-lisp-mode c-mode c++-mode perl-mode makefile-mode sh-mode) 71 '(emacs-lisp-mode c-mode c++-mode perl-mode makefile-mode sh-mode)
67 "List of major modes for which `which-func-mode' should be used. 72 "List of major modes for which `which-func-mode' should be used.