]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
authorGlenn Morris <rgm@gnu.org>
Sat, 1 Jun 2013 20:10:08 +0000 (13:10 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 1 Jun 2013 20:10:08 +0000 (13:10 -0700)
lisp/ChangeLog
lisp/pcmpl-gnu.el

index a7ac80ad774f928e37dc45fa3f00ed6ffb2d482f..269deb86abe74d4d718f5822a61c07848136488f 100644 (file)
@@ -1,5 +1,7 @@
 2013-06-01  Glenn Morris  <rgm@gnu.org>
 
+       * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
+
        Plain (f)boundp silences compilation warnings since Emacs 22.1.
        * progmodes/cc-cmds.el (delete-forward-p):
        * progmodes/cc-defs.el (buffer-syntactic-context-depth):
index 91b146fdc788b88cc0fad35f02462ba99a79abcb..fb31984faccb954d6fa0b770d9ce3e5248799a18 100644 (file)
   "Completion for the GNU tar utility."
   ;; options that end in an equal sign will want further completion...
   (let (saw-option complete-within)
-    (let ((pcomplete-suffix-list (cons ?= pcomplete-suffix-list)))
+    (let ((pcomplete-suffix-list (if (boundp 'pcomplete-suffix-list)
+                                     (cons ?= pcomplete-suffix-list))))
       (while (pcomplete-match "^-" 0)
         (setq saw-option t)
         (if (pcomplete-match "^--" 0)