aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mouse.el
diff options
context:
space:
mode:
authorDan Nicolaescu2009-10-26 06:43:36 +0000
committerDan Nicolaescu2009-10-26 06:43:36 +0000
commita7610c523cdd0f381e05d10dd2e5abdaf60f8bbf (patch)
treeba103f8b4ce4e22edef6b80ca67052499f0e2e59 /lisp/mouse.el
parent0667de2146b9f62e66133f9eca6393e0bb00274c (diff)
downloademacs-a7610c523cdd0f381e05d10dd2e5abdaf60f8bbf.tar.gz
emacs-a7610c523cdd0f381e05d10dd2e5abdaf60f8bbf.zip
* textmodes/tex-mode.el (tex-dvi-view-command)
(tex-show-queue-command, tex-open-quote): * progmodes/ruby-mode.el (auto-mode-alist) (interpreter-mode-alist): Purecopy strings. * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names. * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc string for the hook, keymap and abbrev table. * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name. * x-dnd.el (x-dnd-xdnd-to-action): * startup.el (fancy-startup-text, fancy-about-text): Change to defconst from defvar. * ps-print.el (ps-page-dimensions-database): Purecopy initial value. * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist): Purecopy initialization strings. * mail/sendmail.el (mail-header-separator) (mail-personal-alias-file): * mail/rmail.el (rmail-default-dont-reply-to-names) (rmail-ignored-headers, rmail-retry-ignored-headers) (rmail-highlighted-headers, rmail-secondary-file-directory) (rmail-secondary-file-regexp): * files.el (null-device, file-name-invalid-regexp) (locate-dominating-stop-dir-regexp) (inhibit-first-line-modes-regexps): Purecopy initialization strings. (interpreter-mode-alist): Use mapcar instead of mapc. * buff-menu.el (Buffer-menu-mode-map): Purecopy name. * bindings.el (mode-line-major-mode-keymap): Purecopy name. (completion-ignored-extensions): (debug-ignored-errors): Purecopy strings.
Diffstat (limited to 'lisp/mouse.el')
-rw-r--r--lisp/mouse.el27
1 files changed, 18 insertions, 9 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index 9fa5e8cd284..ccf8fb77e09 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -1850,6 +1850,7 @@ a large number if you prefer a mixed multitude. The default is 4."
1850 :version "20.3") 1850 :version "20.3")
1851 1851
1852(defvar mouse-buffer-menu-mode-groups 1852(defvar mouse-buffer-menu-mode-groups
1853 (mapcar (lambda (arg) (cons (purecopy (car arg)) (purecopy (cdr arg))))
1853 '(("Info\\|Help\\|Apropos\\|Man" . "Help") 1854 '(("Info\\|Help\\|Apropos\\|Man" . "Help")
1854 ("\\bVM\\b\\|\\bMH\\b\\|Message\\|Mail\\|Group\\|Score\\|Summary\\|Article" 1855 ("\\bVM\\b\\|\\bMH\\b\\|Message\\|Mail\\|Group\\|Score\\|Summary\\|Article"
1855 . "Mail/News") 1856 . "Mail/News")
@@ -1859,7 +1860,7 @@ a large number if you prefer a mixed multitude. The default is 4."
1859 ("Outline" . "Text") 1860 ("Outline" . "Text")
1860 ("\\(HT\\|SG\\|X\\|XHT\\)ML" . "SGML") 1861 ("\\(HT\\|SG\\|X\\|XHT\\)ML" . "SGML")
1861 ("log\\|diff\\|vc\\|cvs\\|Annotate" . "Version Control") ; "Change Management"? 1862 ("log\\|diff\\|vc\\|cvs\\|Annotate" . "Version Control") ; "Change Management"?
1862 ("Lisp" . "Lisp")) 1863 ("Lisp" . "Lisp")))
1863 "How to group various major modes together in \\[mouse-buffer-menu]. 1864 "How to group various major modes together in \\[mouse-buffer-menu].
1864Each element has the form (REGEXP . GROUPNAME). 1865Each element has the form (REGEXP . GROUPNAME).
1865If the major mode's name string matches REGEXP, use GROUPNAME instead.") 1866If the major mode's name string matches REGEXP, use GROUPNAME instead.")
@@ -2353,10 +2354,14 @@ and selects that window."
2353 (cdr elt))))) 2354 (cdr elt)))))
2354 2355
2355(defvar x-fixed-font-alist 2356(defvar x-fixed-font-alist
2356 '("Font Menu" 2357 (list
2357 ("Misc" 2358 (purecopy "Font Menu")
2359 (cons
2360 (purecopy "Misc")
2361 (mapcar
2362 (lambda (arg) (cons (purecopy (car arg)) (purecopy (cdr arg))))
2358 ;; For these, we specify the pixel height and width. 2363 ;; For these, we specify the pixel height and width.
2359 ("fixed" "fixed") 2364 '(("fixed" "fixed")
2360 ("6x10" "-misc-fixed-medium-r-normal--10-*-*-*-c-60-iso8859-1" "6x10") 2365 ("6x10" "-misc-fixed-medium-r-normal--10-*-*-*-c-60-iso8859-1" "6x10")
2361 ("6x12" 2366 ("6x12"
2362 "-misc-fixed-medium-r-semicondensed--12-*-*-*-c-60-iso8859-1" "6x12") 2367 "-misc-fixed-medium-r-semicondensed--12-*-*-*-c-60-iso8859-1" "6x12")
@@ -2393,10 +2398,14 @@ and selects that window."
2393 "-b&h-lucidatypewriter-bold-r-normal-sans-*-240-*-*-*-*-iso8859-1") 2398 "-b&h-lucidatypewriter-bold-r-normal-sans-*-240-*-*-*-*-iso8859-1")
2394 ;; ("lucidatypewriter-bold-r-24" "-b&h-lucidatypewriter-bold-r-normal-sans-24-240-75-75-m-140-iso8859-1") 2399 ;; ("lucidatypewriter-bold-r-24" "-b&h-lucidatypewriter-bold-r-normal-sans-24-240-75-75-m-140-iso8859-1")
2395 ;; ("fixed-medium-20" "-misc-fixed-medium-*-*-*-20-*-*-*-*-*-*-*") 2400 ;; ("fixed-medium-20" "-misc-fixed-medium-*-*-*-20-*-*-*-*-*-*-*")
2396 ) 2401 )))
2397 ("Courier" 2402
2403 (cons
2404 (purecopy "Courier")
2405 (mapcar
2406 (lambda (arg) (cons (purecopy (car arg)) (purecopy (cdr arg))))
2398 ;; For these, we specify the point height. 2407 ;; For these, we specify the point height.
2399 ("8" "-adobe-courier-medium-r-normal--*-80-*-*-m-*-iso8859-1") 2408 '(("8" "-adobe-courier-medium-r-normal--*-80-*-*-m-*-iso8859-1")
2400 ("10" "-adobe-courier-medium-r-normal--*-100-*-*-m-*-iso8859-1") 2409 ("10" "-adobe-courier-medium-r-normal--*-100-*-*-m-*-iso8859-1")
2401 ("12" "-adobe-courier-medium-r-normal--*-120-*-*-m-*-iso8859-1") 2410 ("12" "-adobe-courier-medium-r-normal--*-120-*-*-m-*-iso8859-1")
2402 ("14" "-adobe-courier-medium-r-normal--*-140-*-*-m-*-iso8859-1") 2411 ("14" "-adobe-courier-medium-r-normal--*-140-*-*-m-*-iso8859-1")
@@ -2419,8 +2428,8 @@ and selects that window."
2419 ("12 bold slant" "-adobe-courier-bold-o-normal--*-120-*-*-m-*-iso8859-1") 2428 ("12 bold slant" "-adobe-courier-bold-o-normal--*-120-*-*-m-*-iso8859-1")
2420 ("14 bold slant" "-adobe-courier-bold-o-normal--*-140-*-*-m-*-iso8859-1") 2429 ("14 bold slant" "-adobe-courier-bold-o-normal--*-140-*-*-m-*-iso8859-1")
2421 ("18 bold slant" "-adobe-courier-bold-o-normal--*-180-*-*-m-*-iso8859-1") 2430 ("18 bold slant" "-adobe-courier-bold-o-normal--*-180-*-*-m-*-iso8859-1")
2422 ("24 bold slant" "-adobe-courier-bold-o-normal--*-240-*-*-m-*-iso8859-1")) 2431 ("24 bold slant" "-adobe-courier-bold-o-normal--*-240-*-*-m-*-iso8859-1")
2423 ) 2432 ))))
2424 "X fonts suitable for use in Emacs.") 2433 "X fonts suitable for use in Emacs.")
2425 2434
2426(declare-function generate-fontset-menu "fontset" ()) 2435(declare-function generate-fontset-menu "fontset" ())