aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2005-11-16 22:44:53 +0000
committerStefan Monnier2005-11-16 22:44:53 +0000
commitbead134f40a923a6202c3b93502d2204faa5f4eb (patch)
treecdee9dcdf24ddb63d72463aebbcf78489cc71b39
parentb83867531a78f722b25f2436279498c129a4f842 (diff)
downloademacs-bead134f40a923a6202c3b93502d2204faa5f4eb.tar.gz
emacs-bead134f40a923a6202c3b93502d2204faa5f4eb.zip
(easy-menu-intern): Don't define.
(pr-get-symbol): Use easy-menu-intern only if defined.
-rw-r--r--lisp/ChangeLog11
-rw-r--r--lisp/printing.el12
2 files changed, 15 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index dedc30af307..8caa172cba8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,14 @@
12005-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * printing.el (easy-menu-intern): Don't define.
4 (pr-get-symbol): Use easy-menu-intern only if defined.
5
6 * simple.el (blink-matching-open): Simplify a bit.
7 (completion-setup-function): Fix the case of partial-completion-mode
8 when the minibuffer's contents start with "-".
9 Obey completion-base-size-function even when
10 minibuffer-completing-file-name is non-nil.
11
12005-11-16 Richard M. Stallman <rms@gnu.org> 122005-11-16 Richard M. Stallman <rms@gnu.org>
2 13
3 * net/eudcb-ph.el (eudc-ph-open-session): 14 * net/eudcb-ph.el (eudc-ph-open-session):
diff --git a/lisp/printing.el b/lisp/printing.el
index 3771871c9c8..c199dcacc28 100644
--- a/lisp/printing.el
+++ b/lisp/printing.el
@@ -1042,12 +1042,6 @@ Please send all bug fixes and enhancements to
1042;; To avoid compilation gripes 1042;; To avoid compilation gripes
1043 1043
1044 1044
1045(or (fboundp 'easy-menu-intern) ; hacked from easymenu.el
1046 (defsubst easy-menu-intern (s)
1047 (if (stringp s) (intern s) s)))
1048
1049
1050
1051(or (fboundp 'subst-char-in-string) ; hacked from subr.el 1045(or (fboundp 'subst-char-in-string) ; hacked from subr.el
1052 (defun subst-char-in-string (fromchar tochar string &optional inplace) 1046 (defun subst-char-in-string (fromchar tochar string &optional inplace)
1053 "Replace FROMCHAR with TOCHAR in STRING each time it occurs. 1047 "Replace FROMCHAR with TOCHAR in STRING each time it occurs.
@@ -2803,8 +2797,10 @@ See `pr-ps-printer-alist'.")
2803 (and pr-print-using-ghostscript (not pr-spool-p))) 2797 (and pr-print-using-ghostscript (not pr-spool-p)))
2804 2798
2805 2799
2806(defun pr-get-symbol (name) 2800(defalias 'pr-get-symbol
2807 (easy-menu-intern name)) 2801 (if (fboundp 'easy-menu-intern)
2802 'easy-menu-intern
2803 (lambda (s) (if (stringp s) (intern s) s))))
2808 2804
2809(cond 2805(cond
2810 ((featurep 'xemacs) ; XEmacs 2806 ((featurep 'xemacs) ; XEmacs