Commit bead134f authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(easy-menu-intern): Don't define.

(pr-get-symbol): Use easy-menu-intern only if defined.
parent b8386753
2005-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
* printing.el (easy-menu-intern): Don't define.
(pr-get-symbol): Use easy-menu-intern only if defined.
* simple.el (blink-matching-open): Simplify a bit.
(completion-setup-function): Fix the case of partial-completion-mode
when the minibuffer's contents start with "-".
Obey completion-base-size-function even when
minibuffer-completing-file-name is non-nil.
2005-11-16 Richard M. Stallman <rms@gnu.org>
 
* net/eudcb-ph.el (eudc-ph-open-session):
......
......@@ -1042,12 +1042,6 @@ Please send all bug fixes and enhancements to
;; To avoid compilation gripes
(or (fboundp 'easy-menu-intern) ; hacked from easymenu.el
(defsubst easy-menu-intern (s)
(if (stringp s) (intern s) s)))
(or (fboundp 'subst-char-in-string) ; hacked from subr.el
(defun subst-char-in-string (fromchar tochar string &optional inplace)
"Replace FROMCHAR with TOCHAR in STRING each time it occurs.
......@@ -2803,8 +2797,10 @@ See `pr-ps-printer-alist'.")
(and pr-print-using-ghostscript (not pr-spool-p)))
(defun pr-get-symbol (name)
(easy-menu-intern name))
(defalias 'pr-get-symbol
(if (fboundp 'easy-menu-intern)
'easy-menu-intern
(lambda (s) (if (stringp s) (intern s) s))))
(cond
((featurep 'xemacs) ; XEmacs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment