aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorStefan Monnier2008-01-04 06:29:12 +0000
committerStefan Monnier2008-01-04 06:29:12 +0000
commit48d33090d0c796fd04b70ddd74ebfa16a94922c9 (patch)
treeb774bb1218b3a9694ff2a46a1c91acbe4b5543f5 /lisp/textmodes
parent3da360a745b3835504e7ac426dfec5f0908dcb3a (diff)
downloademacs-48d33090d0c796fd04b70ddd74ebfa16a94922c9.tar.gz
emacs-48d33090d0c796fd04b70ddd74ebfa16a94922c9.zip
* erc-ibuffer.el (erc-channel-modes):
* bs.el (bs--sort-by-mode, bs--get-mode-name): * imenu.el (imenu-add-to-menubar): * makesum.el (make-command-summary): * mouse.el (mouse-major-mode-menu, mouse-popup-menubar, mouse-buffer-menu): * msb.el (msb--mode-menu-cond): * calc/calc-embed.el (calc-do-embedded): * emacs-lisp/helper.el (Helper-describe-mode): * mail/emacsbug.el (report-emacs-bug): * progmodes/hideshow.el (hs-grok-mode-type): * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function): * textmodes/table.el (*table--cell-describe-mode): Pass mode-name through format-mode-line.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/sgml-mode.el4
-rw-r--r--lisp/textmodes/table.el4
2 files changed, 4 insertions, 4 deletions
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index 245ffc47908..0c361463022 100644
--- a/lisp/textmodes/sgml-mode.el
+++ b/lisp/textmodes/sgml-mode.el
@@ -1,7 +1,7 @@
1;;; sgml-mode.el --- SGML- and HTML-editing modes -*- coding: iso-2022-7bit -*- 1;;; sgml-mode.el --- SGML- and HTML-editing modes -*- coding: iso-2022-7bit -*-
2 2
3;; Copyright (C) 1992, 1995, 1996, 1998, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1992, 1995, 1996, 1998, 2001, 2002, 2003, 2004,
4;; 2005, 2006, 2007 Free Software Foundation, Inc. 4;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
5 5
6;; Author: James Clark <jjc@jclark.com> 6;; Author: James Clark <jjc@jclark.com>
7;; Maintainer: FSF 7;; Maintainer: FSF
@@ -397,7 +397,7 @@ a DOCTYPE or an XML declaration."
397 (setq face (funcall skeleton-transformation-function face)) 397 (setq face (funcall skeleton-transformation-function face))
398 (setq facemenu-end-add-face (concat "</" face ">")) 398 (setq facemenu-end-add-face (concat "</" face ">"))
399 (concat "<" face ">")) 399 (concat "<" face ">"))
400 (error "Face not configured for %s mode" mode-name))) 400 (error "Face not configured for %s mode" (format-mode-line mode-name))))
401 401
402(defun sgml-fill-nobreak () 402(defun sgml-fill-nobreak ()
403 ;; Don't break between a tag name and its first argument. 403 ;; Don't break between a tag name and its first argument.
diff --git a/lisp/textmodes/table.el b/lisp/textmodes/table.el
index 5e8b8c7cbc2..2aea24cede5 100644
--- a/lisp/textmodes/table.el
+++ b/lisp/textmodes/table.el
@@ -1,7 +1,7 @@
1;;; table.el --- create and edit WYSIWYG text based embedded tables 1;;; table.el --- create and edit WYSIWYG text based embedded tables
2 2
3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 2000, 2001, 2002, 2003, 2004,
4;; 2005, 2006, 2007 Free Software Foundation, Inc. 4;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
5 5
6;; Keywords: wp, convenience 6;; Keywords: wp, convenience
7;; Author: Takaaki Ota <Takaaki.Ota@am.sony.com> 7;; Author: Takaaki Ota <Takaaki.Ota@am.sony.com>
@@ -4061,7 +4061,7 @@ converts a table into plain text without frames. It is a companion to
4061 (call-interactively 'describe-mode) 4061 (call-interactively 'describe-mode)
4062 (with-output-to-temp-buffer "*Help*" 4062 (with-output-to-temp-buffer "*Help*"
4063 (princ "Table mode: (in ") 4063 (princ "Table mode: (in ")
4064 (princ mode-name) 4064 (princ (format-mode-line mode-name nil nil (current-buffer)))
4065 (princ " mode) 4065 (princ " mode)
4066 4066
4067Table is not a mode technically. You can regard it as a pseudo mode 4067Table is not a mode technically. You can regard it as a pseudo mode