+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):
;; 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.
(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