aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2010-04-05 12:36:45 +0200
committerJuanma Barranquero2010-04-05 12:36:45 +0200
commit309d5b43a7b65b5bda2e03067f8319845880ee54 (patch)
tree7dc1ce67fa850efbf81875ef50da12903e1b897f
parentac61e7e14f58895aefc97a62b63e04e9330eada3 (diff)
downloademacs-309d5b43a7b65b5bda2e03067f8319845880ee54.tar.gz
emacs-309d5b43a7b65b5bda2e03067f8319845880ee54.zip
* help.el (describe-mode): Return nil (for IELM's sake).
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/help.el3
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6b4bc0f3785..0d68b49a837 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12010-04-05 Juanma Barranquero <lekktu@gmail.com>
2
3 * help.el (describe-mode): Return nil (for IELM's sake).
4
12010-04-04 John Wiegley <jwiegley@gmail.com> 52010-04-04 John Wiegley <jwiegley@gmail.com>
2 6
3 * ido.el (ido-use-virtual-buffers): New variable to indicate 7 * ido.el (ido-use-virtual-buffers): New variable to indicate
diff --git a/lisp/help.el b/lisp/help.el
index 9fb993e7173..bde2bf2e9ae 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -872,7 +872,8 @@ whose documentation describes the minor mode."
872 (insert (format-mode-line mode nil nil buffer)) 872 (insert (format-mode-line mode nil nil buffer))
873 (add-text-properties start (point) '(face bold))))) 873 (add-text-properties start (point) '(face bold)))))
874 (princ " mode:\n") 874 (princ " mode:\n")
875 (princ (documentation major-mode)))))) 875 (princ (documentation major-mode)))))
876 nil)
876 877
877 878
878(defun describe-minor-mode (minor-mode) 879(defun describe-minor-mode (minor-mode)